Re: Using uft8 encoded strings in windows filesystem
- From: Ron Fox <fox@xxxxxxxxxxxx>
- Date: Wed, 31 Dec 2008 06:35:13 -0500
latengoyo.groups@xxxxxxxxx wrote:
I've got a project which is completely enconded in UTF-8. The databaseHow about using iconv to first convert the string to UCS-2?
and the served pages are in this encoding. But when using filesystem
functions like mkdir() fopen(), etc. -UNDER WINDOWS- it produces wrong
file and directory names.
If I mkdir('日本語') the directory 日本語 is created in the
filesystem.
This does not seem a filesystem limitation as if I create manually
from the windows explorer a directory with the same name, the
directory is created correctly.
How can i write my utf filenames as they are?
I think Windows uses UCS-2 rather than UTF-8.
--
Ron Fox
NSCL
Michigan State University
East Lansing, MI 48824-1321
.
- Follow-Ups:
- Re: Using uft8 encoded strings in windows filesystem
- From: latengoyo . groups
- Re: Using uft8 encoded strings in windows filesystem
- References:
- Using uft8 encoded strings in windows filesystem
- From: latengoyo . groups
- Using uft8 encoded strings in windows filesystem
- Prev by Date: Re: image sizing/cropping
- Next by Date: Re: Using uft8 encoded strings in windows filesystem
- Previous by thread: Using uft8 encoded strings in windows filesystem
- Next by thread: Re: Using uft8 encoded strings in windows filesystem
- Index(es):
Relevant Pages
|