admin
Karma: 101
|
Re:Polish letters BIG problem! - 2009/02/19 11:44
The file system is part of the operating system on the web server. It's what allows you to have files and directories on your data storage.
Since the file system gives things names, which are strings of characters, it has to be using some character set. Your web site is using UTF-8 as its character set for all the things that it reads and writes. But if the file system is using a different character set (say ISO 8859-2) then the web software will misinterpret file names.
If you do not have a very large number of files, and they are not unusually large, then I would suggest storing the files in the database instead. The database will be configured to work in UTF-8 so as to be consistent with the web server, so there should be no inconsistencies that way.
You can find out more about this issue in a Gnome document - you need to scroll down a bit to find the descriptive stuff.
Post edited by: admin, at: 2009/02/19 11:54
Martin Brampton aka Counterpoint http://aliro.org http://black-sheep-research.com |