Basic of internationalization plz...

300 byte By Maneeesha at 2007-9-28 0:24:34
i want to send email through a fram with a text area but in hindi.but if i use unicode characters than boxes appears .moreover in a servlet if i set a content type charset utf=8 than in browser hindi appear but jbuilder 6 dont show it.thanx for guidance which u hv for ...

GUI and Multi-lingual support

651 byte By starfloata at 2007-9-28 0:25:00
hi,allhow can i build a beautiful gui support multi language?it is a project support language such as,English,Japanese,Chinese,...in every applet,i use the method setBounds(Rectangle r) to set each component's position.but because of great different length of a same text in different ...

Book query: O'Conner, Internationalization Using the Java Platform

488 byte By cjah01a at 2007-9-28 0:35:24
John O'Conner, Internationalization Using the Java PlatformPaperback - 416 pages (31 March, 2002) Addison Wesley; ISBN: 0201615681Amazon.co.uk is the only place I can find this title online. It appears to be out of stock.The following sites do not list it at ...

unicode escape problem with resource files

893 byte By dbcm2a at 2007-9-28 0:37:37
Hi all.I want to get Strings via ResourceBundle from resource files. English and native characters work well. But if I have special characters as an Unicode escape sequence in the resource file, I just receive the escape sequence as such, not the actual character.This is what I did:1. got a ...

Question about Chinese character.

616 byte By swsun1008a at 2007-9-28 1:06:50
Dear all:I wrote a JSP page for my guestbook. This JSP will collect user's input and send it to a Servlet.The servlet behind of JSP will process the input and send to MySQL database. Now I got some problem about double bytes character. Some user input double bytes character like Chinese or ...

Converting UTF-8 data to encoding scheme for Japanese in IBM Mainframe 390

744 byte By souravm00a at 2007-9-28 1:15:36
Hi All,Need an urgent help regarding UTF-8 data conversion in IBM Mainframe 390.I have a data file in Windows system which contains Japanese characters encoded using UTF-8. I need to send this file to IBM Mainframe 390, where an application will read this data.In this context I need to know the ...

Display Chinese Character

322 byte By pyq3004a at 2007-9-28 1:21:53
Hi all, My program needs to read in Chinese character and compare it to the records in my TAMINO database. My problem now is how can i allow the user to input chinese character and then compare them to the one in the database?The chinese character in the database is stored using ...

Some japanese character encoded to "?". Please help me..

1157 byte By bestpopa at 2007-9-28 1:31:36
My system is below listed.J2SE 1.4.1MySql Ver 11.18 Distrib 3.23.52,Resin 2.1.4Java application load html document encoded 'SHIFT_JIS' using HtmlURLConnection.And read the document in 'SHIFT_JIS'.Almost it appears properly but some of characters printed in '?'.hm....I will show my source ...

French characters OK in SA app, but not in jsps / servlets

1708 byte By Holonica at 2007-9-28 1:33:25
Hi,First of all, sorry if this question has already an answer here, I tried to search the forum beofre posting without finding it.I wanted to test the JDBC type 4 database access with MS SQL SERVER 2000.So I just wrote 3 classes which do a SELECT on a user table containing special French ...

problem with encoded UTF8 parameter when calling request.getParameterValues

1029 byte By cschaffera at 2007-9-28 1:57:09
I'm losing some parts of my parameters when I get to the servlet.Using the java.net.URLEncoder on an English/Chinese UTF-8 string combination, I created a URL with a parameter "pk". I use this in an HTML page that calls a servlet. Here is what I set the parameter equal ...

I18N and Preferences

508 byte By dbaldonia at 2007-9-28 2:03:47
G'day folks,We are developing a client/server application and we are not having any problems (yet) with the ResourceBundle approach to locale handling.However, the Java Tutorial recommends using the Preferences API in place of Properties. As ResourceBundles are really just a convenience API ...

Help to retrieve Chinese characters from MS Access

197 byte By big_ea at 2007-9-28 2:13:26
Hi all,I really need your help. How do I retrieve chinese characters from MS Access 2000? I've been going through the forum..but can't really find one that can help me.Thanks

Performence gets slow using UTF encoding

1462 byte By abhijitroy_ina at 2007-9-28 2:16:34
Hi ,We are reading data from a socket connection with encoding UTF8. The problem is with English characters it is working fine but with Asian characters it is taking a long time. Can you please help. I am attaching the following code.BufferedReader in = new BufferedReader(new ...

How to use I18N in Oracle's queries

501 byte By mingcoa at 2007-9-28 2:25:28
Hi guys. I want to know how I can internationalize the date conversion in my SQL queries, stored procs, and triggers (from here known as queries) in Oracle. Currently, what we do to convert chars to dates is "to_date('mm/dd/yyyy', dateParam)'. This have been working fine until recently when ...

time zones

390 byte By Jason_Prizemana at 2007-9-28 2:25:40
when carrying out internationlisation, do I have to take into account time zones/difference.For example if I have a web portal in England.Somebody in the New York, accesses the portle at 12:00 GMT. What time will be output on the screen in New York? Will it be 12:00, East coast time. (ie. does ...

new comer welcome me

714 byte By Maneeesha at 2007-9-28 2:40:03
hi all! i m using document.write(javascript) and displaying some unicode characters of arabic/hindi through textfield but when i get them on another jsp page through request.getParameter than either they print ?(question mark ) on console or show a different unicode letter(which i don'not ...

Arabic Farsi characters

378 byte By abijanzadeha at 2007-9-28 2:40:43
Hi all!There is strange behavior from java when trying to type Arabic-farsi characters in java input fields.Under linux, instead of Arabic characters hebrew characters appears in the input field (I am using KDE3.1 ). Under windows it is correct but the 3 Farsi characters with the code of ...

want to print on console though hv set the sys propery

946 byte By Maneeesha at 2007-9-28 3:01:19
hi all!(first i m using jbuilder6 and want to print on console)i want to just send a mail but now in hindi/arabic.Though i m setting the charset utf8 but i still hv encoding Cp1252.i m sendingby using "message.setContent(body,ContentType)".but no response at all.i know the string i m recieving ...

How come I can't get the i18n tutorial example running?

330 byte By vwuvancouvera at 2007-9-28 3:08:12
Hi,I try to run the example on http://java.sun.com/docs/books/tutorial/i18n/text/stream.html. Blink squares are displayed on the spots Japanese characters supported be up. I installed the jdk1.4.1.01 multi-language version. That doesn't solve the problem. What is missing here?Thanks for your ...

Passing Japanese String to servlet using response.sendRedirect

1645 byte By gharesha at 2007-9-28 3:08:14
I am developing an application which supports Japanese language.(I am using tomcat 4.0)I have localized all the strings in a properties file and reading those strings getString() method.Now if I do following I can display the Japanese string fine in resulting HTML.<%@ page ...

When a JTextArea can display arabic why console can not.

799 byte By Maneeesha at 2007-9-28 3:13:45
hi all!i hv following problems:-My jbuilder (windows OS) console is showing all unicode values for japnese but not for my arabic.i hv done following stuff:-i hv set the font for text area which i currently installed and than it show meunicode value(not a block).But console is still giving me ...

SimpleDateFormat : Supported Locales

622 byte By ratheeshpaia at 2007-9-28 3:29:09
Hi , Can anybody please tell me where can I get the supported Locale's for SimpleDateFormat ?The problem is that SimpleDateFormat is giving me exception for Korean Locale while parsing dates The API for SimpleDateFormat says that public SimpleDateFormat()Construct a SimpleDateFormat using the ...

Displaying Chinese (in a iso10646 font)

1350 byte By freemanta at 2007-9-28 3:36:55
Hi all,I am running RedHat 7.3 and JDK 1.3.1 (from SUN). I am having problem displaying Chinese (traditional) in Swing. I've taken the followingsteps:1. Copy the iso10646 ttf fonts coming with RedHat (eg, the arphic fonts) into $JAVA_HOME/jre/lib/fonts.2. Edit ...

How input Chinese into txtArea

174 byte By otto4a at 2007-9-28 3:42:03
Dear all,I want to type some chinese in JTextArea, but when I type, it displays "?", and when I save the text, it doesn't work at all. How can I do about that?

ResourceBundle: Best Practice

238 byte By vairoja at 2007-9-28 3:42:08
Anyone know is there any best practice for create and manage ResourceBundle? Such as how many ResourceBundle should I have. One for the whole application or one ResourceBundle per one GUI page, etc. Is there any guideline for this?

How to display Arabic

1134 byte By cyrgana at 2007-9-28 3:45:19
Hi AllI have started a project in which I have to display Arabic and to take input from the user in Arabic and Latin through simple controls like Text Box.I am facing some problems like how to display Arabic and to get input in ArabicMy Project's specifications :- Win NT4.0 SP4- Tomcat4.0.1 / ...

Problem using utf-8 when calling a cgi

1390 byte By goldenrayxa at 2007-9-28 3:49:39
Hi,Here are my system specification:Netscape IplanetWebsphere 4.02Oracle 8.i using UTF-8Vignette CMS Solaris with sun os 5.7The site is using UTF-8 all around. The jsp pages are built around utf-8 and my servlets read from my database wich is utf-8 without havin any problems. Now my client ...

Problem: Chinese Big5 processing in JSP

4529 byte By wuyaukina at 2007-9-28 4:01:18
Hi, I get different result for IE and NS.I get different result for form method post/get in NS.IE version: 6.0.2600.0000NS version: 6.2.3Testing cases:1. t1.jsp -> t2.jsp, post, IE -> correct2. t1.jsp -> t2.jsp, get, IE -> correct3. t1.jsp -> t2.jsp, post, NS -> incorrect4. ...

PrinterJob.printDialog localization problem

750 byte By VladimirDa at 2007-9-28 4:02:37
Hi!Can you help me please to solve my problem?I would like to print from applet by using native Java print dialog: java.awt.print.PrinterJob.printDialog(attr) where attr is javax.print.attribute.HashPrintRequestAttributeSet()Current locale is Russian but print dialog started in default (en,US) ...

Indian Languages on Linux

550 byte By yeskaranyesa at 2007-9-28 4:03:19
Hi All, I am presently working on a multi-lingual software which is already available for Windows. Our new requirement is to port it on the Linux platform. I am planning to use the Java technology for the same. Java renders Indian Languages on Windows using the underling uniscribe component. ...

Asian Fonts

808 byte By SWPa at 2007-9-28 4:06:04
I have followed the instructions at http://java.sun.com/products/jdk/1.2/docs/guide/internat/fontprop.html(Not sure if they still apply for 1.4.1)But I still can't get Java to show Asian fonts on my XP machine. I have a native app that has been localized for Simplified Chinese and it displays ...

1.4 ResourceBundle change?

818 byte By davidza at 2007-9-28 4:07:39
Hi,I am looking at the 1.4 javadoc for resource bundle,and comparing it with the 1.3 javadoc. There isa paragraph missing in 1.4 that seems significant. 1.3 The baseclass must be fully qualified (for example, myPackage.MyResources, not just MyResources). It must also be accessable by your code; ...

ContentType help needed - Why is it that

605 byte By ssjona at 2007-9-28 4:08:37
when I go to a Korean web site, my browser automatically knows how to render the page, yet when I put the same head tags in my jsps:<meta http-equiv="content-type" content="text/html; charset=EUC-KR">the browsers stays stuck on ISO-8859-1 and the korean characters I output are ...

enforcing encoding dynamically

1368 byte By dargonNa at 2007-9-28 4:10:08
Hi, thanks in advance for responses to this question.ok. I have a site with 5 potential languages. The resource bundle stuff appears to be working. the properties files are there with each chunk of text that needs to be translated.the files can see the right text.The problem:when the page is ...

Chinese character output problem on Java web application

590 byte By vwuvancouvera at 2007-9-28 4:20:53
In my Java web project, Chinese characters on the JSP layer can be displayed properly on JSP files with the utf-8 character set. The input Chinese character data getten the right representation of unicode format in the DB. The problem is the output Chinese characters don't show up right. ...

normalization

233 byte By eviyatara at 2007-9-28 4:21:34
Hi,Is jdk 1.4.1 supports normalization? If so, how?I found the class sun.text.Normalizer in rt.jar, but this is part of "undocumented Java".Any idea (with out installing ICU...).Thnaks,Daniel

Display Chinese in English Windows with Chinese Font installed?

495 byte By Suo_alexa at 2007-9-28 4:22:09
Dear all,Please reall help me, this is very urgent.I have written an applet supporting simplified chineseand traditional chinese well. But I then was asked todo this under windows whose default language is English.Of course, chinese fonts are available.I have tried a lot but still cannot get ...

Japanese character storing format.

393 byte By dzomtea at 2007-9-28 4:26:07
Hi all, I have stored japanese characters in varchar field in the format '&#12375;' for 'し' i.e. 'shi' and so on. Does any one know what this format is called and are there any other formats for storing such different language characters and also how to use those with JDBC. I ...

Multilingual Sevlet

188 byte By has_stara at 2007-9-28 4:26:19
i want to write servlet in Urdu language, i want my servlet to display output in both english and urdu languagepls also give atleast one example thanks

Web localized input?

420 byte By ant1claa at 2007-9-28 4:27:42
I understand how to format out put display in a given localized format. The piece of the puzzle that is missing for me is; how do you let a user input a date/currency (or any other locale sensitive input) in a free form field (i.e. US- 1,234,567.99 or German - 1.234.567,99) and then parse this ...

Dealing With Chinese On An English Operating System

1461 byte By jiapei_jena at 2007-9-28 4:30:42
My operating system is an English one (north America). How do I provide Chinese users to input a piece of text; say three Chinese characters, and search a Chinese document for all the occurrences of those three Chinese characters? 1. Do we identify the default file encoding by checking the ...

i18n, velocity templates and strus

510 byte By megajavaa at 2007-9-28 4:34:00
Hi everyone,As i understood, i18n alows programmer to internationalize strings and java objects through *.propertes and *.class files. But is there any (simple) way to deal with arbitrary files? In my case i want that struts would use different velocity template for every Locale. There's of ...

Looking for Hierarchical hashmap

399 byte By caenevetca at 2007-9-28 4:34:51
For resource handling I need to structure my resources :for example I want to define for key="name" in context="application1/module2/screen4" its value to "name of the customer" If the key is not found int this context I want the "hashmap" to search in "application1/module2" context and then in ...

Sometimes can't find resource bundle key Tomcat1.3

1410 byte By brian662a at 2007-9-28 4:44:45
I have run into this problem twice now. It appears to happen after I call an update jsp and then forward after the update to another page. The update page does not have any resource bundle information, the calling page does and the page I forward (<jsp:forward ...

JVM unable to recognize Locale during runtime!!!!!!!!

295 byte By arunaithala at 2007-9-28 4:56:55
Hi,i wrote a java application and i am trying I18N it. The JVM recognizes locale when it came it existance and consider that as default locale.If i change the locale while application is running, JVM won't recognize it .(i will change locale through regional settings) why?

Using ResorceBundle properties files to display lables

431 byte By chandu_vda at 2007-9-28 4:58:07
HI, I am working on i18n of web application . I have designed one file as Lables_th_Th.properties to store thai labels. this file is bundled in jar and it is avaiable to server. I am using tomcat-4.0 . I am picking these lablels on the webpage depending on language selection. now problem is ...

Problem with Umlaute in ZIPEntry

823 byte By GobbleHa at 2007-9-28 4:59:31
Hi folks,I wrote a little servlet that lets you choose some files from the server and then you can download them all packed in one zip file. It works perfectly if the filenames contain no special characters, but if the filename contains german Umlaute (A"O"U"a"o"u") the ZIP File contains ...

Determining a file's encoding

105 byte By balteoa at 2007-9-28 5:00:34
Hello,Is there any tool that can determine/discover a file's encoding system?Balteo

Japanese Input Methods in Java?

342 byte By lotuslubylooa at 2007-9-28 5:01:21
Hey all,as there is a pretty useful page http://users.erols.com/eepeter/chinesecomputing/programming/java.html for a Chinese input example, I wonder if there exist some simple spi-like packages for Japanese. Are there some ongoing free-projects? or some companies?ThX for your help & ...

Collators and case sensitivity

205 byte By cybermac912a at 2007-9-28 5:02:27
We need to convert all of our String.compareTo()'s and String.equal()'s to Collators, but I can't tell how to use them for case-insensitive comparisons. Can anyone please enlighten me?Eric