cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Schwenke <pe...@bluetoad.com.au>
Subject Re: special characters for i18n
Date Fri, 26 Apr 2002 00:01:55 GMT

I've got the international characters set up a little differently in X
(I use Gnome)
and find this really really convenient.  I generally only use
international chracters for testing so this method makes it easy for
me to compose the characters I want.

I have the following in my .Xmodmap

keycode 78 = Multi_key


That is, set the scroll lock key as a multi key character

Then
 
    ScrollLock a "

gives you ä (a with umlaut).  So all the character compositions are
really obvious à, â, å

I think the Multi_key was all I needed to set up.  

                                                                ...Peter


Peter Flynn writes:
 > > 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 &#x00E4;
 >          w-with-circumflex (Welsh), type &#x0175;
 > 
 > 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: <cocoon-users-unsubscribe@xml.apache.org>
 > For additional commands, e-mail: <cocoon-users-help@xml.apache.org>

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message