Changeset 950


Ignore:
Timestamp:
2000-02-18T11:26:17+13:00 (24 years ago)
Author:
sjboddie
Message:

set macros for displaying macrons in utf8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/receptionist.cpp

    r935 r950  
    2828/*
    2929   $Log$
     30   Revision 1.47  2000/02/17 22:26:17  sjboddie
     31   set macros for displaying macrons in utf8
     32
    3033   Revision 1.46  2000/02/17 02:34:09  sjboddie
    3134   made compressedoptions macro dm_safe - added SCRIPT_NAME to log string
     
    12351238  disp.setmacro ("decodedcompressedoptions", "Global", dm_safe(compressedoptions));
    12361239
     1240  // set macron macros if encoding is utf8
     1241  if (args["w"] == "u") {
     1242    disp.setmacro ("Amn", "Global", "Ā");
     1243    disp.setmacro ("amn", "Global", "ā");
     1244    disp.setmacro ("Emn", "Global", "Ē");
     1245    disp.setmacro ("emn", "Global", "ē");
     1246    disp.setmacro ("Imn", "Global", "Ī");
     1247    disp.setmacro ("imn", "Global", "ī");
     1248    disp.setmacro ("Omn", "Global", "Ō");
     1249    disp.setmacro ("omn", "Global", "ō");
     1250    disp.setmacro ("Umn", "Global", "Ū");
     1251    disp.setmacro ("umn", "Global", "ū");
     1252  }
     1253
    12371254  // set _cgiargX_ macros for each cgi argument
    12381255  cgiargsclass::const_iterator argshere = args.begin();
Note: See TracChangeset for help on using the changeset viewer.