Re: [CentOS] encoding
Cahit Eyigünlü wrote on Sat, 3 Apr 2010 23:08:31 +0300: i have created a folder with name ÅiÄüı and it is ok. No, it is not. *Use ASCII* Kai -- Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] encoding
google about encoding, MySQL, utf-8. so how could i repair this copied fle names end file encodings because it has problems also while reading by php and publishing the same thanks That's why it is a bad idea to use anything other than ASCII in filenames that are used for web servers or programming. New users of CentOS, especially if new to Linux at all, have a habit of throwing *every* problem they have on the new system at the list. This is ok for a while and if not stretching the CentOS relationship too much. But, finally, please understand that this list is not a general purpose solve my server problems list. So, please consider next time if your question has anything to do with CentOS. Kai -- Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] encoding
Thank you for feed back but there is sth. complicated then using ascii characters let me try to describe : i have created a folder with name şiğüı and it is ok. but i have copied a file that i 've created on another linux machine (that is not mine) it seems like � and that cause to not only file name it also encounters on all hosted site which is copied from other server but this names seems ok on terminal , it only seems like on the web pages and the contents of this files seems like this , but if i rewrite the page with the same non latin chars , everything is ok. i have try to change httpd.conf page encodings , php settings .. do you have any advice please. i want to learn and share my knowladge like you in the future Kai i am reasearching always ... thanks for your understanding, reading all your posts on group to learn. thanks 2010/4/3 Kai Schaetzl mailli...@conactive.com google about encoding, MySQL, utf-8. so how could i repair this copied fle names end file encodings because it has problems also while reading by php and publishing the same thanks That's why it is a bad idea to use anything other than ASCII in filenames that are used for web servers or programming. New users of CentOS, especially if new to Linux at all, have a habit of throwing *every* problem they have on the new system at the list. This is ok for a while and if not stretching the CentOS relationship too much. But, finally, please understand that this list is not a general purpose solve my server problems list. So, please consider next time if your question has anything to do with CentOS. Kai -- Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] encoding
cahit Eyigünlü a écrit : Thank you for feed back but there is sth. complicated then using ascii characters let me try to describe : i have created a folder with name şiğüı and it is ok. but i have copied a file that i 've created on another linux machine (that is not mine) it seems like � and that cause to not only file name it also encounters on all hosted site which is copied from other server but this names seems ok on terminal , it only seems like on the web pages and the contents of this files seems like this , but if i rewrite the page with the same non latin chars , everything is ok. i have try to change httpd.conf page encodings , php settings .. do you have any advice please. I'm not sure to fully understand your problem, but I guess it relates to displaying special characters in web pages. So here goes. 1) Always specify encodings in the web pages themselves. Here's a header section of a webpage of my site, to give you an idea : !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html xmlns=http://www.w3.org/1999/xhtml; xml:lang=fr lang=fr head meta http-equiv=Content-Type content=text/html; charset=utf-8 / titleMicrolinux - Solutions Linux et logiciels libres/title 2) Edit /etc/httpd/conf/httpd.conf and try this option : AddDefaultCharset Off Hope that helps. Niki ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] encoding
cahit Eyigünlü a écrit : i have created a folder with name şiğüı and it is ok. Ah, yes, one other thing. Folders named 'şiğüı' are *not* ok on a website. Don't use special characters in folder or file names on a webserver, or you're asking for trouble. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] encoding
yes we try all this , beside this as i said if i create the folder on my own server there is no problem with non latin chars or th files which include non latin chars. this only encounters if i copy it from another source and the given solutions not worked unfortunatelly. for example cpanel's file manager shows fle list and it returns me file list like this �.html ���.html (file coming from other server) şiğü.html (file that i created) and when i open this files from browser şiğü.html this file show all content correctly with non latin chars but the others not 2010/4/4 Niki Kovacs cont...@kikinovak.net cahit Eyigünlü a écrit : i have created a folder with name şiğüı and it is ok. Ah, yes, one other thing. Folders named 'şiğüı' are *not* ok on a website. Don't use special characters in folder or file names on a webserver, or you're asking for trouble. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos