Changeset 1194


Ignore:
Timestamp:
2000-05-29T15:30:03+12:00 (24 years ago)
Author:
sjboddie
Message:

fixed a bug preventing GB encoded text from being displayed correctly
(bug showed up in Chinese collection)

File:
1 edited

Legend:

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

    r1089 r1194  
    2828/*
    2929   $Log$
     30   Revision 1.26  2000/05/29 03:30:03  sjboddie
     31   fixed a bug preventing GB encoded text from being displayed correctly
     32   (bug showed up in Chinese collection)
     33
    3034   Revision 1.25  2000/04/14 02:52:05  sjboddie
    3135   tidied up error messaging and set up some debugging info to be output
     
    220224  recpt.add_converter ("u", &utf8inconvert, &utf8outconvert);
    221225
    222   if (!gsdlhome.empty()) {
    223     mapinconvertclass gbinconvert;
    224     gbinconvert.setmapfile (gsdlhome, "gbku", 0x25a1);
    225     mapoutconvertclass gboutconvert;
    226     gboutconvert.setmapfile (gsdlhome, "ugbk", 0xa1f5);
    227     recpt.add_converter ("g", &gbinconvert, &gboutconvert);
    228   }
     226  mapinconvertclass gbinconvert;
     227  gbinconvert.setmapfile (gsdlhome, "gbku", 0x25a1);
     228  mapoutconvertclass gboutconvert;
     229  gboutconvert.setmapfile (gsdlhome, "ugbk", 0xa1f5);
     230  recpt.add_converter ("g", &gbinconvert, &gboutconvert);
    229231
    230232  // the list of actions. Note: these actions will become invalid
Note: See TracChangeset for help on using the changeset viewer.