- Timestamp:
 - Mar 4, 2012, 10:33:44 PM (14 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  trunk/libc/src/libc/locale/os2/iconv.c (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/libc/src/libc/locale/os2/iconv.c
r3723 r3754 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.
  