* widechar to linux filenames?????
@ 2003-03-16 6:37 David Paull
2003-03-17 20:58 ` Eljay Love-Jensen
0 siblings, 1 reply; 2+ messages in thread
From: David Paull @ 2003-03-16 6:37 UTC (permalink / raw)
To: gcc-help
sprintf(linuxFilename,"ls",wideFilename);
does this convert a widecharacter name into a usable filename given the
macines locale, and encoding?
how do you guys handle a possible japanese filename, for example, under
linux???
thanks for your time
dave
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: widechar to linux filenames?????
2003-03-16 6:37 widechar to linux filenames????? David Paull
@ 2003-03-17 20:58 ` Eljay Love-Jensen
0 siblings, 0 replies; 2+ messages in thread
From: Eljay Love-Jensen @ 2003-03-17 20:58 UTC (permalink / raw)
To: David Paull, gcc-help
[Off topic]
Hi David,
Most Unix file systems accept ANY character for a filename, EXCEPT
two: null and slash.
So if you encode your filenames with UTF8, and present them as UTF8 (after
checking that it's valid UTF8 ... otherwise presume 8859-1), you should be
fine.
--Eljay
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-17 19:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-16 6:37 widechar to linux filenames????? David Paull
2003-03-17 20:58 ` Eljay Love-Jensen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).