help with internationalization/localization

From: Praveen (nospam_at_nospam.com)
Date: 10/30/04


Date: Sat, 30 Oct 2004 05:09:27 GMT

Hi...All,

      I was trying an example as per the java.sun.com website for
internationlization & localization. The example worked fine.

Now I am having some problem with the chinese characters.

Here are the steps I followed,

1. Went to google & searched for "database table"
http://www.google.com/search?hl=zh-TW&q=database+table&btnG=%E6%90%9C%E5%B0%8B&lr=lang_zh-TW

2. Saved the page locally & stripped all characters except for the one
which says 'database' . (of course with help of my chinese friend)

3. renamed the file to the resource bundle Message_zh_TW.properties with
one entry
Database = 資料庫

4. But once I run the test by creating a new locale("zh", "TW") & try to
get the string "Database", it prints ???

If I read this file from a browser directly file://c:/ name> it
displays the character correctly.

How do I fix it?

Regards,

P



Relevant Pages

  • RE: SQL 7 to 2000 Migration Looses Characters
    ... We restored the old sql 7 database ... to the new 2000 database server, and the chinese characters end up being ... > characters into a profile table and save the record and when we checked the ...
    (microsoft.public.sqlserver.server)
  • Posting Statistics for this group
    ... Some simple stats from Google about this newsgroup. ... I posted with a width of 120 characters instead of my normal 70 characters/line. ... Google's database, since they honour the no-archive bit, their database may be a tad skewed. ... alt.tv.lost is whipping this newsgroup in posts The first few seasons of a.t.s were the glory times. ...
    (alt.tv.survivor)
  • Re: Loading a data file containing character fields with different encodings
    ... The data is coming from one database that contains UTF-8 characters and it appears that he's attempting to load ... UTF-8 characters along with Latin-1 characters. ... it would be just as easy to write the loader script that converts the encoding to a "unicode" intermediate format and then load with the correct database encoding. ...
    (comp.databases.informix)
  • Re: Loading a data file containing character fields with different encodings
    ... The data is coming from one database that contains UTF-8 characters and it appears that he's attempting to load ... UTF-8 characters along with Latin-1 characters. ... it would be just as easy to write the loader script that converts the encoding to a "unicode" intermediate format and then load with the correct database encoding. ...
    (comp.databases.informix)
  • Re: Size matters to some
    ... BobJ wrote: ... specified to the DBMS tools with a maxlen specification, ... database does, without the maxlen specification to the DBMS. ... Field A is supposed to be 2 characters of a country abbreviation, ...
    (comp.databases.pick)