News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Problem with inserting of 'strange' characters?

Started by jindroush, May 25, 2004, 10:25:13 AM

Previous topic - Next topic

jindroush

Hi,

What should happen when I write here strange characters? It seems they get converted to
ampersand hash three-digit-number semicolon

but then, they're converted to
ampersand amp semicolon hash number semicolon

so the display then looks like & # 434 ; what is wrong I think.

Test:
příšerně žluťoučký kůň pěl ďábelské ódy
PŘÍŠERNĚ ŽLUŤOUČKÝ KŮŇ PĚL ĎÁBELSKÉ ÓDY

Again, I was trying to find it on the forums, but were unable to make up a good query (not mentioning crashing of my Mozilla on certain pages, damn!)

Oldiesmann

#1
IE automatically converts non-standard symbols into HTML symbol code like that so that you don't have to have a specific language pack installed to view strange symbols (non-standard as in characters that aren't defined for the particular character set you're using. If you plan on using a lot of foreign symbols and don't want to worry about character-set issues, change the encoding to UTF-8 instead of ISO-8859-1. Check out http://www.iana.org/assignments/character-sets for a full list of character sets and places to get more information.
Michael Eshom
Christian Metal Fans

[Unknown]

For this reason you should use an alternate character set in your language file to allow those characters.

-[Unknown]

Advertisement: