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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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?
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?
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 / ...
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 ...
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. ...
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) ...
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. ...
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 ...
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; ...
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 ...
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 ...
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. ...
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
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 ...
393 byte By
dzomtea at 2007-9-28 4:26:07
Hi all, I have stored japanese characters in varchar field in the format 'し' 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 ...
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
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 ...
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 ...
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 ...
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 ...
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 ...
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?
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 ...
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 ...
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
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 & ...
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