I want to input chinese character in my application,when I use ctrl+space to switch input method,java application will hang ( System error message: No response),I tried other java application,there had same problem.my os : winxp+sp1jdk version : j2sdk 1.4.2_01, I tried 1.4.2_03 tooSwing ...
Dears,Just asking a small question, I have an html file with ascii character on the form \uXXXX and english characters, an example:<table align="center" cellspacing="1" width="97%" cellpadding="1" border="0"><tr><td align="center" ...
Is the Unicode Standard Version 4.0 going to be supported by the new version of J2SE 1.5? Ataru Nakazawa
464 byte By
pwr2003a at 2007-9-29 20:36:01
Hi All. I am now working on a program that i need to get data from SQL server and generate the XML file. Usually the xml file is using UTF-8. But my SQL server encoding is ISO-8859-1. I found that there are some characters i got from database need to do some conversion to make it become UTF-8, ...
In the application, the i18n is done with message bundle. In some situations, text is the major portion of a page. It may be better to handle the various language version with separated JSP files. How to use this mixed approach if someone out there have use this mixed approach?Thanks for ...
150 byte By
eswarna at 2007-9-29 20:40:13
Hi All,Is there any java class/package which displays the current date in Arabic Numericals(digits)?Thanks in advanceEswar
Hello everybody,I have faced the problem with processing the cyrilic input from the HTML form, The JSP code to receive it and store it can`t do it properly. The <page> directive has ContentType='text/html; charset=UTF-8' and the HTML itself has <meta> tag for the same charset; ...
Hi,I would like to know the standard methodology to test the new characters. I am trying to test the new characters, for example, Unicode standard version 4.0 Linear B Ideograms block (10080..100FF ), which is not currently supported by J2SE 1.4.2. After I modified or updated the ...
I抦 making an application that read from a serial port and write to a file. But I having problems with the extended ascii codes. I have all the data in a ByteBuffer and when I wrote to a file I lose all the accebtuated vowels.an examplebyte[] b = new byte[numBytes];ByteBuffer buf = ...
I must write an app the read characters over a serial com and the source is in DOS.The app is runnig on a windows 2000 profesional wkt.If the chaset is not instaled on the workstation how can I do to install it.Thank a lot. and sorry for my english.Diego.//InputinputStream = ...
Can it be done? I have successfully use unicode strings in a resource property file and display them on JSP through the JSTL format tag. In some cases, I need to use unicode string without the tag. Thanks for your input.
Wow卝ust found my graduating thesis project at this site, www.privatenavigator.com! Awesome!
I was wondering, is there any restrictions on what characters to use as the properties files keys? I mean, can we use spaces / and other characters? I remember reading in one of our books they recommended using the same restrictions as for java variable names (meaning no spaces, only letters or ...
800 byte By
koen_va at 2007-9-29 21:22:43
Hi,I'm trying to write a txt-file from a String array (data) in Unicode, that I need to process in a program working with the UTF-8 encoding. Every array entry (a string) must be written to a new line.Reading the tutorial, I tried FileOutputStream outputFile = new FileOutputStream ...
1101 byte By
yu_hunga at 2007-9-29 21:26:51
Hi thereI am converting string to byte while padding whitespace in the String. I am wondering ifthe string uses charset other than ascii would the bytes in the string changed to someunrecognisable bytes after I am padding whitespaces in the String. The following is thecode I used to pad chars ...
I have a JSP page that is encoded in UTF-8 to support Chinese characters. Within this have a number of <jsp:include ... > tags that are used to include other HTML pages, that also contain Chinese characters.Using the <jsp:include ... > tag works fine- the files are included and the ...
501 byte By
milklaua at 2007-9-29 21:38:20
I'm a client that run a JAVA application on IE, OS is win2000 and the regional setting is Hong Kong.However the applet only show garbage instead of any readable text.Can I force the applet to show English by just change the Java runtime paratime in the Java plug-in control panel?My company ...
I am using a third party IME to input simplified chinese characters using Pinyin method in a JComponent. The JComponent implements KeyListener. But KeyEvent.getKeyChar() inside the void keyTyped(KeyEvent e) is always giving 22 for any chinese characters selected. Can anybody suggest what am I ...
I am trying to run the example provided by Govind Seshadri. http://www.javaworld.com/jw-03-2000/jsp/JSPCode.Zip I have placed the resource bundle (*.properties) file under the shopping/il8n with the class file.But when I runthe application I get an :org.apache.jasper.JasperException: Can't find ...
I am working on a global application that requires timestamps converted from local time to GMT. We must be able to perform this conversion for new transactions as well as past ones going back years.Java has a TimeZone class which handles daylight savings time. However, now I am working on ...
Hi!What encoding java.io.Reader uses to convert read bytes to chars?What to do if I need to read several text files written in different encodins?It seems that readers use default OS encoding to read text files and changing of default Locale doesn't take any effect. Is there any method to ...
709 byte By
larsonaa at 2007-9-29 22:10:12
I'm having trouble getting russian, chinese, japanese, and greek charactersets to display correctly in an applet (plugin is jre 1.4.2_02).1) yes the strings are in i18n'ized properties2) yes the non-ascii characters are unicode escaped (i.e. \u####) in the properties file3) yes the computer ...
Hi All,I have a java applet that uses cp278, and so it needs the international version of JVM be installed on the client PC, for the app to work. Therefore, this prevents this app running on a US PC, unless I get the user to install the International version first.I expect for most users, this ...
280 byte By
RADTILa at 2007-9-29 22:37:43
Hi,I have a string, on which I have to perform a alpha numeric checkFor Enlish I just check between A -Z and 0- 9Now when supporting internationalization how do I go about it. Say arabic. My application is supposed to be genericRegardsRAD
Hi, I need to translate all swing API components (JOptionPane, JFileChooser etc.) to language which is not supported by default (Polish, Bulgarian). I know, I can modify properties on runtime or put my own "com\sun\swing\internal\plaf\basic\resources\basic_XX.properties" on class path. My ...
Hi! I am familiar with the basics of localization, but what I am trying to do is to put an option inside my Java program that allows the user to change the language fonts that the application is currently using. I envision that once they change the language within the program, that the chosen ...
Hi,I have ASCII strings that I have to compare using EBCDIC lexicographical order.I tried to use Collator with the appropriate Locale, but what is the appropriate Locale for EBCDIC?Are there any standard ways of doing that other than implementing character tables and comparing characters one by ...
Hi,I use a JSP to send a UTF-8 encoded data (ViewPageInfo->Encoding:UTF-8) to a CharacterEncodingFilter, which calls request.setCharacterEncoding("UTF-8"), and then to a servlet, which stores the user input request.getParameter("field") in the MySQL database.Then I use SQL SELECT statement ...
HelloI am having problem getting the japanese character input from windows OS in the jtextfield.When i use gettext ,the value is get is ?.In the screen it displays japansese character,but the value returned is ?.Please can u help me out .How can we get the japansese value input by the ...
Can any tell me the real use of native2ascii command. To mye knowlwedge what i had understood is as follows:For internationalising an application in the Japanese language one has to translate and get the resource bundle properties file in Japanese language from English language . To do this one ...
623 byte By
bangza at 2007-9-29 23:29:59
HiI have a unicode application and I am using the font Arial Unicode MS. I want to show unicode charecters in the title of my JFrame. I am able to show unicode chars in all other controls except for the title of the main JFrame. I read several posts on the forum and came to an understanding ...
580 byte By
JLovera at 2007-9-29 23:33:21
Hello friends,I'm developing an Indic Application in Java (on Windows) where I needs input in Indic Script (like Hindi) from user. So, I've decided to use the IM Context (Swing) support for input in Hindi language using (for a JTextField):JComponent.getInputContext().setLocale() method (not ...
504 byte By
pottmia at 2007-9-29 23:44:08
I need to support a character set that is not supported on windows.I would like to write the Decoder and Encoder so I can includeit in my application so I do not need to worry about installingit on the user's pc.Can someone please point me to sample code of a Encoder/Decoder that Ican use?The ...
I am trying to test the new Unicode character by using J2SE1.5.For example, If I wanted to test the music symbol "1D15F", how do we test that or how do we write code?The following is my code.import java.text.*;import java.util.*;import java.lang.Character.*;public class NewUnicodeCharacterTest ...
My application sends an e-mail with Russian text using UTF-8 charset.message.setText("bla-bla", "UTF-8");Client's e-mail applications recognize the "Content-Type: text/plain; charset=UTF-8" header in the e-mail and automatically set corresponded encoding to properly display the content.But in ...
To fully internationalise my code, I want to store the ACCELERATOR_KEY and MNEMONIC_KEY keys for Actions in a property file. For example, for this code:fooAction = new AbstractAction( Resources.getString( "CoolResources.Action.Foo.Text", "Foo" ) ){public void actionPerformed( ActionEvent ...
Hi,is there a simple way of "normalizing" a string so that it will only contain the standard letters A..Z and a..z, e.g. an Umlaut "ä" becomes "AE" ? Preferrably for all "special characters" like à -> a, è -> e etc.Thanks
Hi all, You know, the regional settings in Windows contains definition of the current locale, NumberFormat, Currency, TimeFormat and so on. And in order to get currency symbol, date time format, number format, we can use class DecimalFormat or NumberFormat,... to do so. However, the regional ...
970 byte By
_PD_a at 2007-9-30 0:09:08
HiI am facing this problem of characters not being passed on to the server side when form is submitted using IE 6.0 browser. I havetried printing the characters entered by the user using javascript andthey show up fine.Strangely, the same form submitted from Netscape 7.1 browser isbeing ...
598 byte By
arin_gha at 2007-9-30 0:13:45
I use struts message resource to localize my jsp pages. struts message resources itself uses property resource bundles to accompolish its task.the problem arises when I try toprint a message from resource bundle using:<bean:message bundle="messages_ir" key="label.username" />statement and ...
404 byte By
stolmaxa at 2007-9-30 0:21:06
hello, I am developing application that has several dialogs. For each of these dialogs, I would like to display unicode characters in the title. Can some one please help me out and direct me on what I should to do make this work? All other controls on these dialogs can display i18n text fine, ...
Hi all Iam involved in an i18n projectin my company . I typed a resource bundle file that contains 2 entries with the keys in the english language and values in the thai language using the KWORD in LINUX . Now i tried to convert this native encoded file in to unicode-encoded format file using ...
Hi,I need to develop an application which should be using Urdu Language ,sincejava doest support URDU (language spoken in India and Pakistan).what steps should I take ?What to do?your help is really needed!Thanks
427 byte By
nachidaa at 2007-9-30 0:39:48
Hi everybody,I wonder if this is the right forum for this purpose, but hope that you could help me!I am in charge to find a way how to developp a modular application using Java so each "module" can stand alone as good as it can operate with the othersif there is a kind of technique way to do ...
I am involved in localising the UI portion of the software to simplified chinese (double byte). I need only to create the properties file for it. However I have a problem. How do I copy the chinese character (big5 encoding for instance) into the .properties file which is essentially a text ...
hiya everyone, gotta small prob... i save a chinese resource bundle file using word as unicode file.. when i invoke the resource bundle and try to get the value for the key... do i need to create a streamreader and specify the encoding? the normal way of just getting the value as string ...
455 byte By
asjfa at 2007-9-30 0:55:01
hi, i've got some translated text in a word document, but can't figure out how to get them into a java source file. I've tried saving as unicode text and examining the values with a hex editor but this isn't working (the characters are different - probably because my guessing of endianness ...
Hi,I wrote a simple program to help me learn about using locales and currency in java. The program worked file for the default locale, but gives an exception when I pass it a US locale. I expect this is something very simple that I've done wrong but it escapes me for now. I'm hoping someone ...
******To all those (expect iainsinclair) who view this message - Sorry for using this forum for my personal contacts **********Hi iainsinclair Thanx for explaining ur experience to me for my previous posted topic . U did mentioned a text editor called NETBEANS PROPERTY TEXT EDITOR . * Can u ...
781 byte By
sastryda at 2007-9-30 1:05:28
Hi all, I need to make my application internationalization, I need to show my client all fields in Chinese format, I have Created The Unicode (Coverted) Chinese property filel and i successed to represent the UI part in chinese languague. But my second problem is i am plaining to Save the Data ...