PDA

View Full Version : Character encoding


spidero
10-26-2005, 03:33 PM
First, thank you for this great script. Extremely efficient.

But to the character encoding. I know this has probably been addressed before but I didn't find any solution.

My only problem with this script, really:

I have PP 1.4.2 and...

If i keep the character encoding UTF-8 everything renders perfectly from everywhere inside the script, so me being icelandic and wanting some icelandic special characters without coding them everytime this is good. However all the icelandic characters I enter into my template files themselves come out as questionmarks. What is supposed to be "Garðabrúða" comes out as " Gar�abr��a"

Now. If i change the character encoding to iso-8859-1 the special characters in the template files are fine but icelandic characters from the script itself, for example the SITE_TITLE and the IMAGE_NAME tag come out horribly. What is supposed to be "Garðabrúða" renders as "Garðabrúða".

Does anybody know how to do something about this?

I don't really have access to my database, this installation was just set up for me to play with through my ftp.

Connie
10-26-2005, 06:17 PM
please give us the URL of your site, otherwise I cannot check anything.

But: our in- and output is completely in UTF-8, so your templates must be in UTF-8 as well.

I do not see any reason why icelandic should be different, UTF handles icelandic characters

so I would like to see the sourcecode of your webpage
please give us the URL

GeoS
10-26-2005, 09:45 PM
You must recode your template from ISO-8859-1 to UTF-8. There are many translators in the internet (use google.com to find them).

Connie
10-27-2005, 04:25 AM
and another point: what is the character encoding set in your browser?

You should set it to "automatic recognise character encoding" and not to a special codeset

Paparazzi
11-22-2008, 01:00 PM
Hi guys,

can u help me?

i'm new on the pixel post, I followed all the instructions to load my web site, but when I go on my web page is this:

IMPORTANT!!! Due to the nature of the characterset used in this file it is important to save this file with an UTF-8 encoding. Contact: thecrew (at) pixelpost (dot) org Copyright 2007 Pixelpost.org License: http://www.gnu.org/copyleft/gpl.html This program is free software; you can redistribute............

Dennis
11-23-2008, 03:50 PM
an url would be helpfull.