Hello Every bodyI am a beginner in internationalization of application and need to internationalize an application in jsp(front end) and servlet(back-end)In the application I need to have different images for different locales for which i need to store the images in ListResourceBundle and then ...
Hi I m able to create a non standard locale with following codenew locale("en_IDC")where IDC is the non standard Country but i want to specify some settings or parameter for this localeI want that for IDC I must be able to speciify "LocaleString" , "Languages", "Countries", "DateTimePatterns", ...
I am storing text messages in a PropertyResourceBundle as followstxt_EmailAdd = {mel ADrestxt_Password = pasvDRI made the above file in MSword using hindi fontsThe folllowing text is supposed to be in hindi{mel ADrespasvDR but it does not show the text in hindi it still shows in English but ...
Hi there,I does GregorianCalendar take care of summer/winter time?Is this international, or limited to some timezones, and if it is TimeZone-bound how could I tell GregorianCalendar to handle it with the TimeZone in mind?Thank you in advance, lg Clemens
Hello sir,How to display text in Tamil or sinhala in standalone applications(JFC/Swings)? plz send a sample code.
Hello,I've installed solaris 9 SPARC, and get no problems in command line interface with charcode, but when i go into X (using VNC) i get an different keyboard configuration.Why this is happening?How can i set an portuguese (pt_PT) charset so i don't get this problem?Thanks for your ...
1405 byte By
matlasa at 2007-10-2 11:40:41
Hello,I am trying to update a MySQL database record with UTF-8 characters with my JSP application.1) I have MySQL correctly configured to handle UTF8 and have tested insert/update/select with UTF8 characters2) I have an "editRecord.jsp" page. At the top of the page, I specify: <% ...
How can I connect MS ACCESS database with JAVA.....Please post the string that needs to be given in the getConnection method?
548 byte By
gauravda at 2007-10-2 11:45:00
Hi,I am facing a little issue.I do know how to convert from the current time/current timezone to a given time zone via the following code:GregorianCalendar adjustedDate = new GregorianCalendar(timeZone);adjustedDate.setTime(current.getTime());I am receiving a date for a given time zone that I ...
Hi,I would like to know following things.We are adding l10n to our application.But many times query remains in mind,as for e.g on French keyboard how things will work. Whather our Swing UI will work similarly.While typing 100,10 in number field (BC4J Framework) it converts in 100 10.(Space ...
We have developed two SWING applications. In both of them we save information by writing to disk using UTF-8 format. When the files are read back and displayed using JTextField then one of the applications is able to display the (Bengali) characters properly but the other applications is ...
i have a jsp page in which i also include a .js file.now i want to internationalize the javascript code as well as jsp code.but if the jsp is parsed before the .js file is inlcuded then how do i use the i18n message tag in my javascript code?
Hello,I need an advice how to translate UTF8 binary stream of characters to ASCII characters. Translation will depends on the Locale (language) used.For example, if UTF8 character ?(C381 in HEX) is used in Czech language I will need to translate it to two ASCII characters Ae; if the same ...
451 byte By
bpamua at 2007-10-2 12:38:35
Iam new to Jasper Report facing a problem my requirement is to produce the pdf format files in my web application based on struts and jsp iam successful in producing them in production server(Tomcat we r using) we configured a new server in our US office with a domain name when i generate the ...
How to acess Database in I18N? Please help.
subj (for instance in Arab world weekend is friday/saturday).
252 byte By
JOKea at 2007-10-2 12:54:42
im asking about this : can i make regular expresion like [A-Z] in some other language ( cyrillic language ) ? is there somethink like [?荾 :) i know that there is not thinks like this but is there some api or somethink that supports this ?
Hi,I have a typical scenario in which I have a thin client (web browser).And I need to display a word in a input text box, followed by many text boxes for getting the inputs from the user in different languages.But I am not sure about getting the inputs from the user in different languages in ...
How to acess a Key in I18N when we are overriding the getContents() method of ListResourceBundle Class in order to acess the values of Key & Value pair from any DataBase ?. I am not able to locate the appropriate Key from the Table in the Query String in order to filter data. The Key is ...
Is there a limitation on the length of a java.lang.String object ? I could not find any documentation related to this, but when I specify a very long String in my program, on compilation i get the error :'constant string too long'I need to use very long strings .. is there any workaround ...
5809 byte By
Cedrica at 2007-10-2 13:09:43
Hello,I found a different behaviour between JDK1.3 and JDK1.4 in daylight saving for french country. JDK1.4 seems to manage historical changes.I see nothing official about this new feature neither in release notes nor in this forum.Can someone give me a status about that ?Look at the test below ...
419 byte By
Alskea at 2007-10-2 13:13:08
I have Windows XP with Japanese fonts and IME installed. I can view Japanese text on webpages and in files. How can I get JAVA to work with Japanese?For example if I do a simple:System.out.println("日本語");How can I get it to print "日本語" instead of the ...
Hello,We are getting the below Exception when we attempt to read a Unicode encoded Japanese File present at a FTP Location.sun.io.MalformedInputExceptionat sun.io.ByteToCharUnicode.flush(ByteToCharUnicode.java:197)at sun.nio.cs.StreamDecoder$ConverterSD.flushInto(StreamDecoder.java:266)at ...
HI All I am making an pplication in which the user should input hsi choice for the languages and the data for labels will come from the properties file in the JDeveloper. But i am facing a problem and not able to do that can some body guide me through the way how to do the thing Thanx a lot ...
246 byte By
corsaira at 2007-10-2 13:18:45
Is it possible to use Java Regular Expressions to parse a file that will contain double byte characters ?For example, I want a regular expression to match the following linetag="double byte stuff"id="double byte stuff"
127 byte By
grrrrta at 2007-10-2 13:36:58
How can I convert UTF-8 Java String into EBCDIC (with Cyrillic)? I have to enter string into DB2 database.Thanks.
I am a beginner in java. I am designing a small GUI application, which will take input in a JTextField in Gurmukhi language and convert it into equivalent English.My problem is that when the user starts up the app and the user enters the text in the field, is possible to code the text field to ...
hiI wanna to develpp an application that has many languages(in tools menu you can swith from a language to another), but don't have any idea on how do it, must i announce this in the uml diagrams or just into the implementation phase and how can i do it in java language.Thanks for your ...
Hi All,Can I login to a unix server from my PC (Wintel) ?Kindly give your suggestions.My advance thanks to all.
824 byte By
jbollea at 2007-10-2 14:14:13
I am having some difficulties reading and displaying data on a web page from a database. The problems starts with how the data is stored: it is CP1251 encoded data stored in an iso-8859-1 table in MySQL. This is cyrillic text. When displaying the strings (as read in with ...
1200 byte By
davniza at 2007-10-2 14:19:18
Is anyone encountered the following? is it an encodiong problem (java.lang.CharacterDataLatin1 etc.)? thanks, david.executing:public int getColumnIndex(String column){int col_id = 0;String col_name = null;int count = 0;try{ if (columns != null)count = columns.length; for (int i = 0; i < ...
Hi all!I want to use a dot as decimal separator, but my problem is that in the database I see it correctly but when numeric value is displayed in the java Frame decimal separator is ","How can I avoid this?I've just modified Regional Parameters of my computer and also NLS_NUMERIC_CHARACTERS ...
Hello,I'm rather new to localization and I want to make a propertiesfile for every different language to support my program.I know how to do it, but what is the best way to organise these properties files?Would a language folder in my jar containing these files be a good ...
Im doing a project in which i need to parse java source file and identifying java method signature to take the methods parameters name as tokens, does anyone know how to do this with regular expression? I really appreciate your help.regards,gr33nl1nk
i wanna transfer an accese table(some japanese data) in to a mysql table. i somehow always get something like ? when i view my mysql table. so my question is how i can convert the japanese chars to UTF-8 or is there any other better way?please help
i tried something here to convert some japanese characters to utf8 and them stroreged it in to my mysql table.somehow it gives me something like 紊?please help!!! System.out.println(new String("変換".getBytes("utf8"),"euc-jp"));
I want to use unicode characters with codepoints greater than U+FFFF in the java code. So, wrote a small code to check the same:-int cp = 0x10177;char[] ch = new char[2];ch = Character.toChars(cp);int low = ch[0];int high = ch[1];String st = new String(ch);BufferedWriter out = new ...
786 byte By
hannesda at 2007-10-2 14:35:11
Hey all,Im accessing some RFC functions from SAP XI which return and take parameters in the RAW format.From http://help.sap.com/saphelp_nw04/helpdata/en/cf/21f2e5446011d189700000e8322d00/content.htm:RAW: Uninterpreted byte string. Fields of type RAW may have only a maximum length of 255 in ...
1345 byte By
alyua at 2007-10-2 14:35:31
We are currently using a properties resource file with around 1200 lines of localizedmessages/text. There is also an ApplicationResource class which contains string constants corresponding to the keys in the language file. -- client_en_US.properties ...
I'm trying to insert dates from a JTextField onto an Acess database. It refuses to enter the date correctly , it either goes in as some garbage like "1.234756425" or "1993"Can anyone help please? its driving me insane
i have to migrate some data from access to mysql. however, i have some japanese characters in the access table and whenever i am done w/ migration and open the mysql table, i see bunch of ? instead japanese character. since im now working for a japanese company, this pc is in japanese ...
2388 byte By
furlia at 2007-10-2 14:45:44
Hi,I have string data in proprietary system to which I have an access over unsupported JNI access. The strings I get using this access do not set characters in Slovene language correctly.I have created a little test in C and Java using the same mechanisms as the above mentioned access is ...
653 byte By
pesta at 2007-10-2 14:45:55
Hello everyone ..i'm working on an implementation of Input Method Framework for a local Script (Devanagari) . Though it types perfectly initially, as the swing text field Component fills up the text field stops rendering the new characters being written and it finally totally disappears. Even ...
560 byte By
seemamma at 2007-10-2 15:02:22
I'm working on Internationalizing to Simplied chinese. Things worked great a few months ago where I did some translations using some online unicode editors to do the translation. That was just a trial. I got the text strings translated from China and I plugged it into my application and I get ...
120 byte By
igor_tia at 2007-10-2 15:13:34
Some one could please give me a good article link about internationalization to Simplified Chinese.Thanks!
605 byte By
weleca at 2007-10-2 15:18:03
Dear All,I have used Java to fetch Greek web pages encoded in ISO-8859-7 without any problems. The HTML source along with the greek letters shows up to my console (Eclipse) just fine.However now that i am trying to fetch a web page encoded in UTF-8 i get question marks in some characters. So ...
226 byte By
seemamma at 2007-10-2 15:26:47
I Any good websites on HTML internationalization? I have HTML files embedded in Java Swing Component. thanksIs Internationalization any different for HTML files displayed in Swing components thanks,
Hi Friends,In my web application we have been using Local support for US, Taiwan. Now we have been adding two new locales that is French and Indonesia.French is workin fine but when we try to use indonesia, it is giving displaying english only and not displaying indonesia.When I trined to go ...
I have a MS Access database that has hindi characters in unicode. When i retrieve this data on the applet using the JDBC-ODBC bridge then only ? are displayed in place of hindi characters.PLZ help
296 byte By
tonsa at 2007-10-2 15:36:16
I am new to javaplzz see thisdouble d=1234562912;System.out.println(d);I am getting output as 1.234562912E9I dont want the output in exponential form but as same as what i assigned(1234562912).Plzz help(if possible with code also)Thanxx in advance