LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-21-2003, 12:26 PM   #1
prague_expat
LQ Newbie
 
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
character sets in Linux, MySql, PHP, Apache


I am trying to setup a web page that will have both Czech (ISO-8859-2) and English (ISO-8859-1) users hitting it.

I see how to allow MySql and Apache2 to accept both character sets, but I am wondering what happens if I accept a file upload encoded in Czech and try to save it to the Linux filesystem.

As I understand, Linux uses ISO-8859-1 encoding as the default. I also read a post saying that I can compile UTF-8 in the kernel as the default, but several posts mention that not all apps understand it.

I really don't understand how the different apps convert character sets, or even if they do.

The best thing would be for all apps and the server to use UTF-8. Anyone know of any problems with this?

Any other solutions to make sure that different client encodings will not cause problems?

Thanks in advance...
 
Old 09-21-2003, 05:33 PM   #2
nhs
Member
 
Registered: Aug 2003
Location: Edinburgh, Scotland
Distribution: Gentoo
Posts: 246

Rep: Reputation: 30
As far as I know, the kernel doesn't care what encoding a file uses and each program will have it's own story. If the program you want to use supports the Czech encoding then it should display it correctly anyway (You may have to select the encoding somewhere). In general there shouldn't be any major problem, though it all depends on what you want to do with the file.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL and PHP: Multibyte Character Support Magsol Programming 4 04-26-2005 10:24 PM
Linux, Apache, PHP, MySQL akilles Linux - Newbie 4 03-02-2005 02:43 AM
International Character sets in Pine / Konsole LauraK6 Linux - Software 0 10-28-2004 10:56 AM
HTML, PHP, MySQL sets Robert0380 Programming 5 09-03-2003 05:09 PM
VMWare, RH Linux 7.3, Apache, MySQL and PHP xibernex Linux - Software 2 06-17-2002 09:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration