comparison src/os_mac_conv.c @ 179:7fd70926e2e1 v7.0055

updated for version 7.0055
author vimboss
date Fri, 04 Mar 2005 23:39:37 +0000
parents 4d9eabb1396e
children a5fcf36ef512
comparison
equal deleted inserted replaced
178:4d53c2a2af94 179:7fd70926e2e1
290 utf8_hfsplus_encoding) != noErr) 290 utf8_hfsplus_encoding) != noErr)
291 gPathConverter = NULL; 291 gPathConverter = NULL;
292 292
293 if (TECCreateConverter(&gUTF16ToUTF8Converter, utf16_encoding, 293 if (TECCreateConverter(&gUTF16ToUTF8Converter, utf16_encoding,
294 utf8_canon_encoding) != noErr) 294 utf8_canon_encoding) != noErr)
295 gUTF16ToUTF8Converter = NULL; 295 {
296 /* On pre-10.3, Unicode normalization is not available so
297 * fall back to non-normalizing converter */
298 if (TECCreateConverter(&gUTF16ToUTF8Converter, utf16_encoding,
299 utf8_encoding) != noErr)
300 gUTF16ToUTF8Converter = NULL;
301 }
296 } 302 }
297 303
298 /* 304 /*
299 * Destroys text converters 305 * Destroys text converters
300 */ 306 */