Help - Search - Members - Calendar
Full Version: Language problems with FC2
linux-noob.com/forums > Distro Noob > Fedora
godskalk
I am still having languageproblems with my Fedora Core 2 install.
My language is norwegian and I need the øæå ØÆÅ characters to work.

First i didnt have ØÆÅ chars, but export LANG="no_NO" fixed this.

But when I edit files in vi the char's get like: ÃÃø
This also occurs when I make a php-script that saves info to a sql database,
if I include ØÆÅ's in that, SQL writes it like øø.


Aaanybody know what I can do to fix this for good?
I dont want to be forced to use a strreplace script for this, because it has
worked on other servers (servers smart people set up, not servers like mine in the cottage).

Appriciate if anyone could help me on this. rolleyes.gif
andreas
Umm, make sure that you are saving the file with ISO-8859-15 character set. I hope it helps smile.gif

- Hilsen Andreas smile.gif
Slapo
Or use unicode (e.g. utf-8 encoding) :)
godskalk
I fixed it smile.gif

What i did in linux (FC2) was simply
CODE
system-config-language

and in apache's config (/etc/httpd/conf/httpd.conf)
i did:
CODE
AddDefaultCharset ISO-8859-1

Now it works perfectly.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.