spacer
spacer search

SwissCenter

Search
spacer
Main Menu
Home
Documentation + FAQ
Screenshots
Downloads
Forums
Bug Tracking
History
Login
Username

Password

Remember me
?
No account yet?

Locations of visitors to this page

 
Home arrow Forums

SwissCenter Forums  


Problems with umlauts in filenames - 2008/10/09 10:40 Hi,

i have installed swisscenter on linux opensuse 11.0. Everything works fine except that the german umlaute in file and dir names are not displayed correctly.
I have tried the following:
- upgrading to the newest development release
- switching language to English
- Deleting and recreating the database

Nothing helped so far. Maybe the problem is linux related?

configuration:
Webserver : Apache v2.2.8
PHP : v5.2.6
MySQL : v5.0.51a
SwissCenter : 1.21.1

best regards

stefan
  | | The administrator has disabled public write access.
Re: Problems with umlauts in filenames - 2008/10/10 12:31 I'm sure umlauts are represented correctly using Windows, and no other users have mentioned this.

Any other Linux users have this problem?
Player : Netgear EVA700 & Popcorn A-100 (081106)
Server : Vista SP1 Home Premium (Simese 2.07, SwissCenter current SVN)
Spec : Intel C2Q Q6600, 2GB RAM, 1Tb storage.
  | | The administrator has disabled public write access.
Re: Problems with umlauts in filenames - 2008/10/13 04:59 I have examined the thing:

on my system, the swisscenter scripts echo utf-8 encoded dir and file names, but this is not declared in the html header, here i find the following:

content="text/html;charset=Windows-1252">

the following patch to menu.php works for me:

291c291,292
< $item["url"].' TVID="'.$tvid.'" name="'.$tvid.'">'.$font_open.'   '.$tvid.'. '.$text.'</font>'.
---
> $item["url"].' TVID="'.$tvid.'" name="'.$tvid.'">'.$font_open.'   '.$tvid.'. '.
> htmlentities($text, ENT_COMPAT, "UTF-8").'</font>'.

(just encoded the file and dirnames with 'htmlentities'). I dont know if that interferes with the behaviour on windows systems, if not, could you ckeck that in please.

thanks

stefan
  | | The administrator has disabled public write access.
Re: Problems with umlauts in filenames - 2008/11/07 08:57 hi,

i think this is quite simple to answer. in my opinion and because of my experiences i've made with it so far, swisscenter is not designed to work with generic encoding support.

with other words, swisscenter is not using utf-8 as the page encoding which is a must in order to support any kind of special characters.

also it presents those special characters like french ones or the umlaute correct, it cannot handle them within strings that are comming from the database.

therefore the encoding handling of swisscenter is a mess (sorry for that). i'm realy wondering why there are not more people reporting problems related to encoding problems.

until swisscenter has been switch to use utf-8 or iso-8859-15 this problem will not be solfed. it might be interessting to take a look to the following page (i assume that you speak german): http://de.wikipedia.org/wiki/ISO_8859-15.

this might be interessting for none german speakers as well as there is a chapter about the differences between ISO 8859-15 and Windows-1252 at the bottom of the page which is to be understood even if you do not understand german.

so the last time. as long as swisscenter is using windows-1252 as the page encoding - and we won't talk about encoding problems at the database access, this problem will probably not be solfable.

please feel free to correct me if i'm wrong!

greez,

dialsc
  | | The administrator has disabled public write access.
Re: Problems with umlauts in filenames - 2008/11/07 09:12 please feel free to correct me if i'm wrong!
Look at this page.

It clearly states that "In terms of printable characters Windows-1252 has everything ISO-8859-1 and ISO-8859-15 have and more.", followed by a table showing the differences.
Player : Netgear EVA700 & Popcorn A-100 (081106)
Server : Vista SP1 Home Premium (Simese 2.07, SwissCenter current SVN)
Spec : Intel C2Q Q6600, 2GB RAM, 1Tb storage.
  | | The administrator has disabled public write access.
Re: Problems with umlauts in filenames - 2008/11/07 09:32 hi,

so i guess that would not be the answer...

anyway, i think this problem is related to the one i posted here: http://www.swisscenter.co.uk/component/option,com_simpleboard/Itemid,42/func,view/id,11818/catid,11/ .

maybee we should go ahead with one of them only?
  | | The administrator has disabled public write access.
spacer
 

Screenshots

www.flickr.com
This is a Flickr badge showing public photos from swisscenter. Make your own badge here.


 

Mambo is Free Software released under the GNU/GPL License.
spacer