
15 Jan
2011
15 Jan
'11
4:55 p.m.
On Sat, 15 Jan 2011 06:46:10 -0800 (PST), Artyom wrote:
Yet you still need to convert between UTF-8 and the POSIX locales. Even if most recent POSIX systems use UTF-8 as their locale, there is no guarantee of that. Indeed, quite a few still run in latin-1.
No you don't need convert UTF-8 to "locales" encoding as char* is native system API unlike Windows one. So you don't need to mess around with encodings at all unless you deal with text related stuff like for example collation.
I'm not sure I follow. If you pass a UTF-8 encoded string to a POSIX OS that uses a non-UTF charater set, how is the OS meant to interpret that? Alex -- Easy SFTP for Windows Explorer (http://www.swish-sftp.org)