8.4 Working with characters

 <  Day Day Up  >  

8.4 Working with characters

Typically, it will not be the developer's responsibility to provide the translations necessary to provide NLS enablement. Once your base resource bundles and/or static files have been created, the translation process should be completed by a language expert. However, during development, you may need to include some characters that cannot be created by the typical English keyboard. To include these characters, make use of the unicode mappings. Refer to http://www.unicode.org for the current character mappings.

Example 8-8. Using unicode in NLSExample_es.properties resource bundle
 welcome = hola goodbye = adi\u00F3s message = \u00E9ste es el portlet NLSExample 
 <  Day Day Up  >  


IBM WebSphere Portal V5 A Guide for Portlet Application Development
IBM Websphere Portal V5: A Guide for Portlet Application Development
ISBN: 0738498513
EAN: 2147483647
Year: 2004
Pages: 148

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net