Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.