Changeset 3755
- Timestamp:
- Mar 4, 2012, 10:34:58 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libc-0.6/src/emx/src/lib/locale/iconv.c
r3724 r3755 107 107 (don't understand what it exactly means but without it MBCS prefix 108 108 character detection sometimes could fail (when 0x7f is a prefix)). 109 109 110 And don't treat the string as a path (the docs also don't explain 110 111 what it exactly means, but I'm pretty sure converted texts will 111 mostly not be paths). */ 112 mostly not be paths). 113 Ticket #182: This breaks samba with Korean CP, WON and forward 114 slash seems to be mapped to the same ASCII character. Better 115 assume the input is PATHs. */ 112 116 uconv_attribute_t attr; 113 117 UniQueryUconvObject(conv->from, &attr, sizeof (attr), NULL, NULL, NULL); 114 attr.converttype &= ~(CVTTYPE_CTRL7F | CVTTYPE_PATH);118 attr.converttype &= ~(CVTTYPE_CTRL7F/* | CVTTYPE_PATH*/); 115 119 UniSetUconvObject(conv->from, &attr); 116 120
Note:
See TracChangeset
for help on using the changeset viewer.