You are here: Re: Chinese filenames « PHP Programming Language « IT news, forums, messages
Re: Chinese filenames

Posted by Taras_96 on 01/30/07 01:31

Hey Umberto,

> > Does PHP even support opening chinese filenames?
> I don't know how exactly fopen() handles strings containing characters
> other that ASCII, but it is better to not rely on the underlying file
> system for portability reasons. Always use simple ASCII characters. For
> files uploaded via HTTP, store their original name in a DB table properly
> created to support UTF-8.

I actually thought of doing this, but was wondering if PHP could in
fact do it. Never mind, I'll go along with your suggestion.

As for the file names after uploading, I had done everything you
suggested. I noticed that after choosing the filename in Firefox 1.5,
the filename got mangled in the text input section of the file input
(where the filename goes after you choose a file when browsing)! I
tried it on IE 6 and it worked correctly!! This implies to me that
there might be a bug in FF. I'll file a bug report on mozilla and see
what happens.

Taras

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация