Apache Server configuration support - Chinese filenames

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > January 2007 > Chinese filenames





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Chinese filenames
Taras_96

2007-01-29, 7:22 am

Hi everyone,

I'm using Apache 2.2 with php 5. I'm having trouble getting the
filenames with chinese characters in them when the files are uploaded
from a form. Is this an Apache issue or a HTTP issue? If it is an
Apache issue then how would I fix it?

Thanks

Taras

shimmyshack

2007-01-29, 7:24 pm



On 29 Jan, 11:48, Davide Bianchi <davideyeahs...@onlyforfun.net>
wrote:
> On 2007-01-29, Taras_96 <taras...@gmail.com> wrote:
>
> the encoding is done correctly. I think that the problem could be in the
> php part if it's not handling the encoding correctly, but I've never used
> chinese character, so I'm not really sure.
>
> Have you tried looking in the php documentation about it?
>
> D.
>
> --
> Violence, rude language, excessive drinking,
> paganism. It's hard to find children's books like that these
> days.
> --Stig Morten Valstad on alt.sysadmin.recovery


what OS are you using? Windows uses ucs2 to encode characters whereas
most PHP5 functions are not even utf-8 aware let alone ucs2, so you
will have to impose restrictions or use some kind of coversion script
- checkout some of the mbstring functions in the php manual.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com