Changeset 13103


Ignore:
Timestamp:
2006-10-12T16:44:08+13:00 (18 years ago)
Author:
kjdon
Message:

cgi_safe, do unicode encoding for characters less than 127 rather than 255. hope there wasn't any reason for using 255 in the first place

File:
1 edited

Legend:

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

    r12796 r13103  
    451451      // space
    452452      outtext.push_back('+');
    453     } else if (c > 255) { // unicode character
     453    } else if (c > 127) { // unicode character
    454454      unsigned char buf[3]; // up to 3 bytes
    455455      buf[0]='\0';buf[1]='\0';buf[2]='\0';
Note: See TracChangeset for help on using the changeset viewer.