Re: Converting text strings [out of topic a bit]
| From: | tedd | Date: | Tue, 30 May 2006 13:10:10 +0000 |
| Subject: | Re: Converting text strings [out of topic a bit] | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-237077@lists.php.net to get a copy of this message | ||
At 10:17 AM +0200 5/30/06, Jonas Rosling wrote:
Hi all, when my documents are using iso-8859-1 (Latin 1) as char set I have some problems with displaying my JS dialogs correct with none international characters (å, ä and ö). Allthough this hasen't got anything to do with PHP, does anyone have any good idéas on how to solve this? Normaly I use UTF-8 as char set, but in this case I need to use iso-8859-1 (Latin 1). Thanks // JonasJonas: The iso-8859-1 char-set does include the characters you mention, so using either utf-8 or iso-8859-1 should work, but that isn't the problem with displaying the characters in html. As to how to solve the problem, I would look into using Unicode characters, such as à (HEX 00E5) OR look into using html characters such as à which both are å. Some references: http://www.w3.org/MarkUp/html3/latin1.html http://www.htmlhelp.com/reference/charset/ http://www.natural-innovations.com/wa/doc-charset.html I used both in displaying: http://www.xn--ovg.com/a2.php This example does not speak for all browsers -- I shall remove/replace soon. As for a look-up table for displaying these types of characters, I remember someone writing one for this list a few months ago -- you might look there. If you find it, please provide to me privately. Thanks. hth's tedd -- ------------------------------------------------------------------------------------ http://sperling.com http://ancientstones.com http://earthstones.com