Changes between Version 1 and Version 2 of Documentation/NewbieGuide/CharacterSets


Ignore:
Timestamp:
04/15/05 10:40:52 (14 years ago)
Author:
gogo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/NewbieGuide/CharacterSets

    v1 v2  
    11= Character Sets in Xinha = 
    22 
    3 The use of Xinha with non-english languages, or special characters (such as the Euro symbol) means that you will very likely encounter character set problems, especially if you don't know jack about character sets. 
     3The use of Xinha with non-english languages, or special characters (such as the Euro symbol) means that you will very likely encounter character set problems, especially if you don't know jack about character sets.  This document first attempts to explain Character Sets and Encodings, then will give you some advice about the use of character sets with HTML, Javascript and in particular Xinha. 
     4 
     5 
     6[wiki:CharacterSets#stopwaffle Skip to the advice.] 
     7 
    48 
    59== What is a Character Set? == 
     
    4347'''The important thing is''' - UTF-8 is ONLY used to get characters INTO Javascript, once it's there, that's it, it's just a list of numbers, nothing more, nothing less, just a list of numbers which represent characters in the UNICODE character set.  Not BIG-5, not ASCII, just UNICODE. 
    4448 
     49{{{ 
     50#!html 
     51<a name="stopwaffle"></a> 
     52}}} 
    4553== Stop waffling, cut to the chase! == 
    4654 
     
    5260 
    5361All the javascript files (that form Xinha) must be loaded as UTF-8, for example 
     62 
    5463{{{ <script language="Javascript" src="htmlarea.js" charset="utf-8"></script> }}} 
    5564