Re: Support for internationalization

Endre Stølsvik <[email protected]>
Newsgroups gmane.comp.java.webmacro.user
Message-ID <Pine.LNX.4.44.0505111909470.18338-100000@excalibur.intra.coretrek.com>
On Wed, 11 May 2005, Ankur G35 Saxena wrote:

| Hi I have not been getting myself upto date on the latest version of
| webmacro, last I downloaded the api was in march of 2004. Now I have a
| task at hand where in I have to support languages like chinese, french
| and many more...
|
| How do i go about doing this? Anything special I have to do, some
| examples would be great. Also when I put text into the webmacro file
| from java, can I put any char(unicode for other languages) since I
| will picking these translated words from an XML file.

There is an option in the WebMacro.properties file which states which
encoding the input-files are in. The default (which is in
WebMacro.default(s?), inside the jar) is UTF-8, as far as I remember.

I think there is an output-thingy there too, which is the default encoding
for the WMServlet and such. If you make your FastWriters yourself, you can
state the encoding when creating it.

-- 
Endre Stølsvik -  Endre@CoreTrek.[no|com]
   Work[+47 23100271] Mobile[+47 93054050] Fax[+47 23100299]



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_ids93&alloc_id281&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.