Norwegian language.

petter

No avatar

2006-11-02 11:01

Hi ! I'm just fidling around and has done a test installation of quickcart 1.4 loaded to be used as evaluation for a small and simple shop. I has made a Norwegian translation and evryting seems to function properly except for problems with display of the norwegian letters of ÆØÅ. I'm running drupal on the same server with no problems with the same letters so I guess that the problem is spesific to Quickcart. I has tried to change from utf-8 to iso-8859-1 and also change the system locale on the server to no_NB.iso-8859-1 ( ubuntu 6.06 LTS ) but there is no difference in display of caracters. Url tho the test installation is on the link under. Can anyone help solve this problem ??

/ Petter

petter

No avatar

2006-11-02 11:04

Ooops - this forum has also problems displaying norwegian characters correctely , , , :-)

&#198 &#216 &#197

/ Petter

petter

No avatar

2006-11-02 11:46

I trried the tip in the post

http://opensolution.org/Quick.Cart/forum/?p=readTopic&nr=3033

and added

setlocale(LC_ALL, 'no_NB.ISO-8859-1'); and also tried
setlocale(LC_ALL, 'no_NB.UTF-8');

in the top of my general.php file , cleared the cache of my browser, but still the same problem ? ? ?

/Petter

petter

No avatar

2006-11-02 11:50

I forgot to say that I also did a /etc/init.d/apache2 restart to restart Apache to reflect the new settings.

When I look in the header of the page source it displays correctely

<meta http-equiv="Content-Type" content="text/html; charset=8559-1" />

/ Petter

/Petter

petter

No avatar

2006-11-02 12:30

Ok, I found the problem:
It is apache that need some help:


In the file /etc/apache2/apache.conf , change the line:

#AddDefaultCharset ISO-8859-1

to

AddDefaultCharset ISO-8859-1

then reload apache:

/etc/init.d/apache2 restart

Viola - quick cart display correct characters in Norwegian.


/Petter

Back to top
about us | contact