PDA

View Full Version : Character set problems!


Geert
23-Apr-2009, 10:53 AM
For example a name like Håkan Björkman is displayed properly through out the page.
But if between the !!< >!! (html codation) it outputs questionmarks on the å and ö!

The html carachter set I tried UTF-8 and also ISO-8859-1 and some others!

What can I do to solve this?!

gabrielcrowe
23-Apr-2009, 11:20 AM
nasty hack:

!!<H>!!å!!<kan Bj>!!ö!!<rkman>!!

see what i did there?

hahah.

leehack
23-Apr-2009, 11:21 AM
Did you remove the funny buggers from being parsed as html?

gabrielcrowe
23-Apr-2009, 11:24 AM
well, i simply stopped parsing, then started parsing afterwards.


like this:

xxxxxxxxxxxx>!!y!!<xxxxxxxxxxxx

where x is a normal char, and y represents our odd character.

its a bit fiddly. the problem lies deep within the way that actinic parses the html, perhaps someone more able to answer why can posy?

Geert
23-Apr-2009, 11:35 AM
I prefer to get a fix in the HTML parsing.
Because changing all the ', ", å, ö, ë in over a 600 products to keep them parsing outside the html just to much work!

If there would be a search and replace option on the actinic on all products it would allready be easier tho..

Duncan Rounding
23-Apr-2009, 11:39 AM
If you're confident with Access you could do the search and replacing in the database with an Access query.