Re: Using uft8 encoded strings in windows filesystem
- From: latengoyo.groups@xxxxxxxxx
- Date: Wed, 31 Dec 2008 03:47:50 -0800 (PST)
On 31 dic, 12:35, Ron Fox <f...@xxxxxxxxxxxx> wrote:
How about using iconv to first convert the string to UCS-2?
I think Windows uses UCS-2 rather than UTF-8.
The php application must work on both unix and windows systems, so do
you recommend doing something like:
if (DIRECTORY_SEPARATOR=="\\") {
mkdir(iconv("UTF-8","UCS-2",$mydir));
} else {
mkdir($mydir);
}
And another question, are all windows systems UCS-2 or it depends on
the instalation language?
.
- References:
- Using uft8 encoded strings in windows filesystem
- From: latengoyo . groups
- Re: Using uft8 encoded strings in windows filesystem
- From: Ron Fox
- Using uft8 encoded strings in windows filesystem
- Prev by Date: Re: Using uft8 encoded strings in windows filesystem
- Next by Date: Re: image sizing/cropping
- Previous by thread: Re: Using uft8 encoded strings in windows filesystem
- Index(es):
Relevant Pages
|