> Really stupid question:
> How do you guys enter the special characters in utf-8 files?

a) which special characters? XML is Unicode, there are thousands.

b) if you're using a western european language, maybe use iso-8859-1
   instead of utf-8.

> Do I need a special editor, how do I find out what (code?) to enter?

If the character you want is one your operating system can display,
and you've got a keyboard character or short cut for it, just type it.

Example: a-with-umlaut, ä
Linux:   type           AltGr-[ a
Windows: type           Alt-0-2-2-8
Mac:     (some Mac user please suggest)

If your editor won't accept these characters, trash it and get one
that does.

If the character is one your screen cannot display, or your keyboard
cannot generate, type the numeric character entity (you need a table
of Unicode characters to look it up, see www.unicode.org)

Example: a-with-umlaut (again), type ä
         w-with-circumflex (Welsh), type ŵ

If you get black or open squares or other non-character symbols when
you expect a printable character, it means your editor does not have
a font which it can use for this character. In this case:

  * either get a font from someone in the community which uses 
    these characters, 

  * or test the file to make sure it really has stored the 
    character (save it and check it via a browser or some system that
    displays the character), and then ignore it.

///Peter

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to