chinese input method hang java application

382 byte By benben_zuoa at 2007-9-29 20:11:17
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 ...

convert from \uXXXX format to corresponding character

496 byte By ash_mod2a at 2007-9-29 20:12:38
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" ...

Unicode Support in Java

118 byte By a_nakazawaa at 2007-9-29 20:32:43
Is the Unicode Standard Version 4.0 going to be supported by the new version of J2SE 1.5? Ataru Nakazawa

ISO-8859-1 to UTF-8

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, ...

Mixed approach to i18n in a web application

322 byte By vwuvancouvera at 2007-9-29 20:37:54
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 ...

Arabic Numericals

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

Processing cyrilic input from HTML <FORM>

467 byte By p_lecheva at 2007-9-29 20:49:09
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; ...

How should I test the new characters?

461 byte By a_nakazawaa at 2007-9-29 20:51:18
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 ...

How to write ascii extended codes?

914 byte By DiegoR73a at 2007-9-29 20:57:04
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 = ...

Witch's the Charset for Read DOS ascii Code?

894 byte By DiegoR73a at 2007-9-29 21:12:52
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 an unicode string be used directively?

235 byte By vwuvancouvera at 2007-9-29 21:15:03
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

98 byte By dido_donea at 2007-9-29 21:16:28
Wow卝ust found my graduating thesis project at this site, www.privatenavigator.com! Awesome!

Any restrictions for properties files keys?

962 byte By ematters2003a at 2007-9-29 21:19:18
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 ...

Problems writing a UTF-8 text file

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 ...

Converting String to bytes

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 ...

Chinese Support in Tag Libraries

938 byte By heyhoe_ma at 2007-9-29 21:31:46
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 ...

Force Java applet show English?! Pls. Help!

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 ...

getKeyChar shows 22

313 byte By sukanta.bosea at 2007-9-29 21:50:11
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 ...

New to Java Internationalization

582 byte By ashish_bsa at 2007-9-29 22:05:11
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 ...

Daylight savings problem in certain countries

1093 byte By TimezoneMana at 2007-9-29 22:05:36
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 ...

java.io.Reader byte2char conversion?

371 byte By AntonKuranova at 2007-9-29 22:10:01
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 ...

non-ascii charsets in an applet woes

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 ...

cp278 for non-international JVM

594 byte By tonywestonuka at 2007-9-29 22:32:50
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 ...

Internationationalization and Alphanumeric

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

How can I translate Swing components ?

892 byte By sztejkata at 2007-9-29 22:47:29
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 ...

Rendering glyphs without changing Windows locale

1281 byte By jakubiaka at 2007-9-29 22:50:31
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 ...

EBCDIC collating order

357 byte By YPersiona at 2007-9-29 23:07:34
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 ...

UTF-8 and MySql

1573 byte By evgenygesina at 2007-9-29 23:13:19
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 ...

Problem getting japanese input value from jtextfield

305 byte By vineetachda at 2007-9-29 23:27:18
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 ...

Real use of native2ascii

901 byte By Jagan_Baliaha at 2007-9-29 23:27:25
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 ...

Unicode in the Title bar of JFrame

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 ...

Input Method Editor for Hindi Language running Windows XP

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 ...

charsetDecoder/Encoder sample code

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 ...

Testing New Unicode Character (Music Symbol)

540 byte By a_nakazawaa at 2007-9-29 23:44:22
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 ...

Web-based e-mail and UTF-8

572 byte By evgenygesina at 2007-9-29 23:49:33
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 ...

storing ACCELERATOR_KEYs and MNEMONIC_KEYs in property files

1639 byte By MichaelSchepera at 2007-9-29 23:52:02
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 ...

Converting special characters (e.g. Umlauts) to A..Z characters

270 byte By aschorlea at 2007-9-29 23:55:19
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, &egrave -> e etc.Thanks

question of how to get regional setting info

894 byte By nguyenhuyhunga at 2007-9-30 0:05:14
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 ...

Cp1252 characters not read when submitted from Internet Explorer

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 ...

problem with property resource bundles

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 ...

Displaying unicode chars in title of jdialog

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, ...

Converting the properties file using native2ascii

865 byte By Jagan_Baliaha at 2007-9-30 0:31:06
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 ...

How to provide support for language which java doesnt support (e.g URDU)

254 byte By behzadkua at 2007-9-30 0:36:45
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

modular application

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 ...

Typing Big5 encoding into the properties file

627 byte By ro81nyeoa at 2007-9-30 0:47:11
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 ...

character encoding in internationalization

371 byte By caritoriana at 2007-9-30 0:50:38
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 ...

how to get unicode char values from a word file?

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 ...

Locale test program exception

1745 byte By iainsinclaira at 2007-9-30 0:57:06
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 ...

Text editor used to type the contents of the properties file

1057 byte By Jagan_Baliaha at 2007-9-30 1:05:19
******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 ...

Internationalization

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 ...