334 byte By
kasoa at 2007-10-1 22:29:36
the runtime environment:jdk 1.5.0_04windows2000 sp4(English edition).we has installed the language package,but java display Chinese is wrong.and we also can't get the correct result to displaying Korean in Chinese edition windows2000 sp4,but it can display Japanese.How can we resolve this ...
Hello list,current I'm not sure that I understand java with internationalisation.My code look like:String east = "ě?#269;ř烗犴?#282;?#268;Ř萘蜕";System.out.println(east.indexOf("ě"));System.out.println(east.indexOf("Ě"));System.out.println(east.indexOf("?));On output I ...
Would someone please change the code so that SimpleDateFormat will parse a string that is shorter than the format. For example:DateFormat format = new SimpleDateFormat("yyyy-MM-dd");format.setLenient(true);format.parse("2003-04"); <-- throws an exception even though it's validPlease insert ...
731 byte By
jdobrya at 2007-10-1 22:39:05
Hi,I have text stored in a Sybase database that includes windows-1252 character set characters 128-159. When I use a servlet to pull from the db and display these characters in either the IE or Mozilla browser, there is no problem displaying them.However, when I write these characters to a file ...
447 byte By
tmzayeda at 2007-10-1 22:47:05
How can I do internationalized JavaBeans. Say my app needs to support 5 languages, do i have to provide 5 getters and 5 setters for each string property, like this:getFirstNameEn, getFirstNameFr, getFirstNameDe, getFirstNameUr, getFirstNameCh, etc.?or is there a more scalable vertical way of ...
434 byte By
kaihua1a at 2007-10-1 22:53:44
the text for example like following:Instruktion f黵 Wort-Wort Stroop DeutschHallo,jetzt schauen wir mal, wie gut du lesen kannst.In diesem Test siehst du immer zwei deutsche W鰎ter. Das erste Wort erscheint etwas fr黨er als das zweite Wort auf dem Bildschirm. The above text was save the file ...
572 byte By
ania_a at 2007-10-1 22:56:03
HiI'm new to all those internalization stuff. My question is how to do that? I thought that using ResourceBundle class and properties files would be a good solution, but I can't see any proffesional projects making internalization that way. I heard that java.util.Formatter class is able to do ...
1993 byte By
wdronea at 2007-10-1 23:01:17
Hello, I've been having problems getting a resource bundle to load. After looking through the current threads on the topic i'm still a little confused. Here is what i have:--Email.propertiesshutdown=true--try{Locale locale = new Locale("en", "US");resources = ResourceBundle.getBundle("Email", ...
580 byte By
Monshia at 2007-10-1 23:06:36
I'm using the free package Xstream to export my objects to an XML file. Works nicely except one aspect. Since I'm i a non-english country some special characters may occur in strings in the object I export wich causes problem when the XML files are loaded on a different system than it was ...
i am getting "?" when i am trying to print dates according to locales. In some cases it is giving me proper date according to locale like when i chooseGerman it is giving me "Donnerstag, 8. September 2005" and "Quinta-feira, 8 de Setembro de 2005" when i choose Portuguese.But in some cases ...
Hello everybody,I would like to set charset for .properties files in NetBeans. I want to use iso-8859-2 charset. I heard that best way is write properties files straight unicode. Is that true? Thank you in advance.Jan :)
To get some internationalization feature working, I need to set this property in the JVM.System.setProperty ("file.encoding", "XXXXXX");I am uploading different types of files at different times. 1) .csv or .txt file - UTF-8 encodedSystem.setProperty ("file.encoding", "UTF-8");2) .htm or .html ...
113 byte By
manooa at 2007-10-1 23:30:51
plz tell me how to display urdu font nastaleeq...i tried but characters r not joining togather.......thanx
Hi All,i have been given a file containing wat shud b arabic unicode values but all i can see is "?".i tried to save it as Unicode, UTF-8 but cant see any change when checking it in Notepad.Please HelpLiza
Hi All,We are developing a Indian s/w in Java, where we are using Indic InputMethods for taking user input in Hindi.Things works fine for small amount of text entered into a JTextField, but when we try to enter large amount of hindi text (let's say 100+ lines), it becomes slow bit by bit, ...
Hi allI want to display arabic titles for the tabbed panel. Can any one tell me how to do that?thanks in advance rajin
Hello All,i got a file containing arabic names. i can view it in any text editor as i have installed arabic on my machine as well as appropriate fonts. My querstion is how to change those names to their equivalent unicode values for example "\u0672" that are accepted in a java program?Your ...
Hi, I'm a student and I face a problem.I want to make a Java program that has a form where you can write a text and then to translate this with Systran. The translation must be done locally, I mean that the Systran program is installed on my computer. Not something like babelfish TranslationI ...
Is it possible to persuade the BreakIterator to break up German compound words into the individual words?I haven't figured out how to get ICU4J to do it. Neither BreakIterator.getWordInstance(), nor RuleBaseBreakIterator nor DictionaryBasedBreakIterator do it. I've specified Locale.GERMAN in ...
Hi all, I need to convert numbers (say, 10,00) into their spoken language representation in ITALIAN language (say, 'dieci'). Is there some Java library class / method that can be helpful? For example: 123 --> "centoventitre" Thank you in advance!Luca
I have following problem: we have a large software that is already multilangual. We are using both resourcebundles directly and jstl:s <fmt:message /> tags at jsp pages. Everything is working quite well.However, we are now moving to other countries and we want to keep all the languages ...
471 byte By
fluxxxa at 2007-10-1 23:53:39
hi,i got 2 JTextFields. In the first one i want to input japanese characters, in the second one english. of course i can do this by changing the IME input method manually. but i want that the IME changes to japanese as soon as the focus is on the first textfield and back to english when the ...
Hi all,I'm using Oracle in the backend of my web application. I have certain danish characters which appear fine when i view them in TOAD, but when i try to retrieve these from the database using <resultset>.getString(); it shows a '?' in place of the special characters.Can anyone ...
756 byte By
nil_neoa at 2007-10-2 0:07:30
Hi,I am very new to internationalization. I want to write a code in Java that will convert a string of one character set into a string of another character set. For example, string in MacTurkish to string in UTF-8.I have written the small code, which is as follows:The program converts the ...
Is the Lao language supported in Java 5.0. We have some users that would like us to do a bundle for that language. We are running under Solaris 8.Thanks,Jeffrey
1578 byte By
kenrodda at 2007-10-2 0:16:11
Dear All,I was hopeful somebody could explain to me the value of this quote taken from: http://java.sun.com/docs/books/tutorial/i18n/resbundle/concept.htmlButtonLabel_fr_CA_UNIXButtonLabel_fr_CAButtonLabel_frButtonLabel_en_USButtonLabel_enButtonLabel"Note that getBundle looks for classes based ...
Hi,I would like to know if it is possible to have many lines for a single variable inside the Messages bundle file, something like:param = aldkjf;lakjfdfadsfdsfasdfasdfasdfI would like to have a very long text inside this variables (like help information), butusing a single line is very ...
I have a GUI which has several labels, buttons and Menus. I need to switch between Korean and english texts and hence i have used resourceBundles. The problem is I need to set Font on all the components explicitly to display Korean. Is there a generic global way I can set the font so that all ...
Hello Friends,I have an J2EE product.I would like to handle the entire product in vietnameese(Not only static text on the pages but also the dynamic parts too like form filling etc.).My database is MySQL 4.1 and tomcat 5.0 is the webserver.I want to store the information using unicode in the ...
884 byte By
i.booija at 2007-10-2 0:26:53
Hi all,We're busy creating a web application that needs different localization.ResourceBundles would probably be the best thing to use for this. However,we would like to use a database as the backend for the ResourceBundle.This would make changing and adding translated strings much easier. ...
705 byte By
s1ll4gea at 2007-10-2 0:32:12
Hello,I want to use the Unicode "ISO-10646-UCS-2".I have the "TradeMark" (? symbol in a database (POSTGRESQL 8.0, in UNICODE). With a JDBC Postgresql Driver, i get the symbol in a StringExample:while (rs.next) {String t = rs.get("DATA");}When i print "t", i get a "?" (it'is normal i think ...
hi all I am having problem with java date format.I want to display date according to current system date format.I am using short date format but even after changing the short date format from system the changes doesn't reflect in java code.here is the codeimport java.text.*;import ...
hi all, can anybody enlist what are the expected changes in the next version of java (after java 5.0) and why?
409 byte By
specraja at 2007-10-2 0:38:36
hi ... I have plain java program .. written using a windows with US english.... now i have to run the same jar file in a windows with japanese in it ... but when i run the jar a warning " Default charset MS392 not supported , ISO-8859-1 instead " is appearing ... I strictly dont want to this ...
207 byte By
iyada at 2007-10-2 1:15:09
does java support ARABIC language through the Internationalizationi try to creat a properties file and write the words i want so it appears as a question mark (?)what i have to do
Hi All,On WinXP I created a folder which name was in Japaness.When I run my applet from this folder the JRE (version 1.5) couldn't load the class from this folder,see the error message below:.......liveconnect: Invoking JS method: documentliveconnect: Invoking JS method: URLbasic: Referencing ...
I'm using jdbc type IV driver (jdk 1.2) to connect to Teradata from my application(which is hosted on Unix box).I'm executing the sql using Statement.executeBatch.One of the values I'm trying to update the database with has a french character- like caf?br>The query gets printed on the ...
473 byte By
sud_pata at 2007-10-2 1:32:04
java.io.UnsupportedEncodingException: TIS620is thrown in windows xp while tried open applet throgh IE for codeString thaistring = new String(value.toString().getBytes("TIS620"),"ISO-8859-1");same code runs fine when i tried to run java code in command mode.Thai language support is installed and ...
473 byte By
sud_pata at 2007-10-2 1:32:08
java.io.UnsupportedEncodingException: TIS620is thrown in windows xp while tried open applet throgh IE for codeString thaistring = new String(value.toString().getBytes("TIS620"),"ISO-8859-1");same code runs fine when i tried to run java code in command mode.Thai language support is installed and ...
64 byte By
rajavena at 2007-10-2 1:35:55
Whether Session supports Object CloningIf not Why?
85 byte By
rajavena at 2007-10-2 1:36:18
Object referencing can be done for StringBuffer but not for String.Why?
I used the following JSP page to input Chinese character to MySQL database. I used MySQL Query Browser to check and the chinese character stored and displayed correctly there. But all the chinese character changed to ������ on the following JSP page. ...
Hi,I have Written some Arabic text in a JSP with out.println();But on Browser i m getting ? for that arabic String , I need help, Can anybody tell , What should i do to get Arabic on browser?Ganesh
Hi,I am using WAS 5.1 as application server & Oracle 9i as backend. My application has an upload documents screen where i show the previously updated documents & also additional upload option.The problem I am facing is when I upload a file with name in japanese the file name is saved as ...
I created a file in one-byte russian encoding cp1251 and declared String literal with 2 letters:String str = "ab"; //attention! ab - two russian charactersAfter I got bytes from it - str.getBytes("cp1251") - it returned 2 byte's array.Now I created a file with UTF-8 encoding with equal content ...
Hi,I use Java Mail API in my J2EE application. I use ISO-2022-JP as my mail for the subject and body. The Japanese mails are fine except that in case of a few characters like circled digits("circled digit 1"), Roman numerals..etc are not rendered properly in the mail. They appear as "?". I hope ...
hi all,i want remove a particular key and associated value from theproperties file. is their any standard way of doing?thanks inadvancedaya
java.util.Locale has follow methods "getAvailableLocales() ",Returns an array of all installed locales"getDisplayCountry() ",Returns a name for the locale's country that is appropriate for display to the user."tDisplayLanguage() ",Returns a name for the locale's language that is appropriate ...
476 byte By
EmboMana at 2007-10-2 2:20:34
Hi,I am sorry if this is not the right forum for this issue, but I have a small problem:I recently installed JDK 1.5 on my Windows XP box, and I need to use the native2ascii tool. For JDK 1.3 and 1.4, I have found this tool in the bin/ folder of the jdk installation. However, I cannot find the ...
Hi,I am tyring to create a program which will display the current date and time for a specific locale. But I am clueless as to how to proceed.Please help me.Thanks