why cannot I show unicode in JButton in jsdk1.4?

449 byte By horitio at 2007-9-27 16:24:22
I am doing a project in java by displaying IPA(international phonetical alphabetical) in JButtons.The strange thing is that these unicode can be displayed well in JTextArea, but most of them cannot be displayed in JButton, except a few like "u00e6".The coonect of IPA unicode can be found in ...

displaying simpChinese on JOptionPane and JFileChooser buttons

977 byte By jshlingus at 2007-9-27 16:25:23
Is there a way to set the font on JOptionPane or JFileChooser yes/no option buttons? I'm writing code that needs to display Chinese characters correctly, even if the user is using a font such as Tahoma. You can set the font with setFont(...) on any component but for some reason I can't get ...

international charaters from a config file

587 byte By vincmac at 2007-9-27 16:30:32
Hi,We have a small problem here we are trying to specify some international characters in a configuration filesalutation =\u0066;\u00e4;\u00f6;and read that in the actual code itself using the salutation encoding which is another parameter in the config file but at the end of the day what we ...

Simplified Chinese in JRE (US-version)

479 byte By prccp at 2007-9-27 16:32:36
If you are using JRE international version, the Chinese characters willbe displayed correctly in the applet. But if you are using JRE(US-version),bad, event cannot start the applet ( an unsupportedencodingexceptionthrowed out).I don't want to force the people to reinstall their JRE to support ...

Big5 Conversion - JSP,Oracle , about to Kill Myself

2878 byte By RickGavin at 2007-9-27 16:33:10
Hi all,I have asked this question before but none of the replies seemed to help, so i'll ask again but try and word it differently.I have a web page with a few form fields. when data(say big5) is entered in the form fields, using DHTML and microsofts client side XML implementation, i XML up ...

JFileChooser does not display japanese file names

241 byte By suja_k at 2007-9-27 16:44:38
I am using JFileChooser to load some files in my application. I have some files which have japanese file names. When I try to load these files it does not even display these files for me to choose and then load them. Any ideas?

MalformedInputException

916 byte By malaythakur at 2007-9-27 16:51:24
Hi experts,I would appreciate any thoughts on this little issue I'm trying to work around..Am reading from an input stream as:new BufferedReader(new InputStreamReader(httpConn.getInputStream(), "UTF-8")).read(char[], 0, SOCKET_READ_BLOCK_SIZE) On certain documents that traverse the stream, I ...

Unicode to Windows OEM ASCII

293 byte By jlsjls at 2007-9-27 16:59:23
Hi,I need to translate a Java String (Unicode-format) to the OEM character set. How can I translate the Java string into this character set?I need the OEM set since I need to steer a display which can only supports this character set.Thanks in advance.jlsjls

Problem in Writing Chinese Wording to File

587 byte By rudyshek at 2007-9-27 17:00:28
Hi allI am now doing a java program to query result from SQL Server and write those results to a ASCII text file (the text file is used for another software that only support ASCII text file as input).Since records in SQL Server contains Chinese words stored in unicode format, I failed to write ...

Handle polish and czech characters in html forms + servlets

521 byte By muckefuk at 2007-9-27 17:05:22
Hello,I tried to input special chars inside an HTML Form <textarea name="query"> and insert the value via servlet to an database table. If I insert the special chars in SQL directly anythings works fine. Seems like the database has the character set installed correctly. But Java losts the ...

Jtable returns Japanese characters as ?

557 byte By suja_k at 2007-9-27 17:12:02
I have a JTable in an applet which I use to display some Japanese data. I need to get the information from the JTable and create a file with the name specified in one of the columns.I end up getting ?.doc in one of the columns and hence the file gets created with ?.doc. I know this is an ...

Internationalization Cyrillic data

920 byte By pshettyas at 2007-9-27 17:13:16
Hi people,I want to load some Cyrillic data from a text file to my database. After going thru the discussions on unicode I unterstand that my Cyrillic data needs to be converted to unicode escape sequences. So that part is done. Now comes the loading part. While loading this unicode data thru ...

Encoding conversion in Swing?

423 byte By yulkl at 2007-9-27 17:13:50
Hi,In working with text file, there is a default encoding to convert the charset into java String. We can check it with System.getProperty("file.encoding").How about in Swing component? Is there another default encoding to convert the text input in the JTextField to java String? I have searched ...

JSP using UTF-8 chars in query string

466 byte By naesc at 2007-9-27 17:18:29
I'm using query params on an HREF to pass some information from JSP A to JSP B. JSP B retrieves the query params and displays it on the screen. I append the query params to the href using URLEncoder.encode("someUTF8Chars", "UTF-8") yet when they come thru on the other side they display as ...

Creating folders with unicode chars using Tomcat

831 byte By srikanth_s_india at 2007-9-27 17:20:07
We are planning to implement japanese version our web site. We need to create folders at run time as per the user input. To create directory using japanese characters we are changing the reginal settings to japanese. Using the following code and by using jdk alone, i am able to create folders ...

Formatting Date

976 byte By s_narayanan at 2007-9-27 17:24:01
Hi,We are currently developing a application using Tomcat 4.0, Struts, Java 1.3. This application can be viewed in multiple languages.I have some basic questions regarding date formats. These questions are relatedto the date retrieval and insertion into the database.1. We have some business ...

Reading Data with multiple languages from Excel

1033 byte By gaurangk at 2007-9-27 17:32:57
Hello Friends,This question does not deal exactly with Internationlization feature, but this is the most matching group for this question, so if anyone feels it off the topic i appolgize.I want to read an Excel File having data in more than one language. Mainly in English, Japanese, Chinese, ...

JTextField. Garbage when typing greek

697 byte By jid1 at 2007-9-27 17:37:49
Hello,I am developing an application in the greek language(in linux). I usethe following tecnique to set my strings to greek:greekstr=new String("something in greek".getBytes(),"ISO-8859-7");But when I try to type into a JTextField then the above can not be used and though it reads ok it shows ...

Localization of Database data

336 byte By javanil at 2007-9-27 17:38:03
Can someone point me to some resource on how to implementlocalization of data stored in a database to be displayed in a JSPpage? I have used the ResourceBundle API for localizing static text, am not sure how to use the same for data stored in a Database table.appreciate any response.Thank You ...

Multifont output in Swing components

651 byte By d_wegener at 2007-9-27 17:50:09
Hi there,though I'm not new to Java but I'm new to displaying different fonts in Swing components.I have an Swing-based application which is running on a Terminal Server. It works fine for Central, Western und Northern Europe. The nextcountry to roll out is Greece. So what does a greek user ...

SMS

3149 byte By nome02 at 2007-9-27 17:53:04
Hi,I hope somebody with some SMS/SMPP experience would be able to fix the problem or advise as what to do. OK Now we have an application which is supposed to send an SMS to a recipient on certain occassions and this SMS might contain accented characters. Now in SMPP apparently we have three ...

Languages

50 byte By JustAnotherProgramer at 2007-9-27 18:11:31
Can java display any language in the world?

unicode in Labels, Buttons,...

418 byte By nas74 at 2007-9-27 18:21:03
Hi, I want to use unicode in my applet. I know that I can use unicode charactersby drawString() method of Graphics class but I want to use unicode charactersin Label, Button,... components. I tried to use bellow command to show \ufe78 th character of unicode but it doesn't ...

Need help converting Chinese characters from Excel to Oracle 8i !!!

755 byte By jtycheung at 2007-9-27 18:22:32
Hi all,I am having a similar problem as others who tried to read Chinese characters from Excel and insert to Oracle 8i using thin driver. I am using jdk1.4 on Windows 2000. I tried to use what most people suggest by converting the input to unicode first, String input = ...

Problems converting from UTF-8 to UCS-2 and vice-versa

1342 byte By prpr1685 at 2007-9-27 18:25:13
Hello,I am having problems converting UTF-8 characters to UCS-2 and vice-versa. I am using JRun 3.1 as servlet/JSP engine, IIS5 as web server, and SQL Server 2000 as database, all running on Windows 2000. According to a Microsoft technote, SQL Server 2000 can only store UCS-2 characters, so I ...

Is there a way to strip out accents from characters in Java?

236 byte By tvperez at 2007-9-27 18:25:22
Is there a way to strip out accents from characters in Java? I am writing an application that needs to strip away any accents from a character. For example, the character '? would need to be transformed into the character 'e'.

Arabic Encoding.. Please help!

1522 byte By lotusY at 2007-9-27 18:27:57
I perform some simple encoding conversion in Arabic by using Window 2000 IME. Since I have to store data in AS400 subequently and allow to modify through another client access utility such as PComm for Arabic, I have to use IBM-420 for encoding Arabic input from unicode.In testing 1, I just ...

North American Native Languages?

179 byte By ParkM at 2007-9-27 18:44:15
Does any one know if there are fonts and/or Unicode encodings for native languages like Cree, Ojibway, Chippewa available?Where could I find such a thing?Mike

Specifying An Encoding

1994 byte By martinhughes at 2007-9-27 18:44:16
Right, while this is in my head, and I don't forget it myself... ;-)String myString = "blah";byte[] myWeirdEncodingBytes = myString.getBytes("myWeirdEncoding");myString is in UTF-16, no matter what. The encoding specified in the getBytes() method is the target encoding. So myWeirdEncodingBytes ...

Best Internationalization?

617 byte By saravan123 at 2007-9-27 18:44:56
Dear All, I am develoing a 3 tier application. My application supports all the databases (MySQL,Oracle,Sybase,solid etc.) . For internationalizing the application, I want to store the locale specific texts by some storage mechanism ( .properties file or database). In the above scenario, which ...

Saving a file in a with a file name containing Japanese Characters

998 byte By chandu09 at 2007-9-27 18:45:14
Hi,I hope some genius out there comes up with the solution to this problemHere it is :I am trying to save some files using a java program from the command console , and the file name contains japanese characters. The file names are available to me as string values from an InputStream. When I ...

URLEncoding of URLs with UTF-8 characters

1110 byte By pratimdas at 2007-9-27 18:45:34
Hi,I'm trying to URL encode a URL with some chinese characters in them. But it isnt working properly.i.e. When i decode back the encdoed URL (using java.net.URLDEncoder.decode(String) & java.net.URLDecoder.decode(string) respectively), I dont get the same URL back... The chinese characters ...

Problems with Chinese Display

1111 byte By edwardgarrett at 2007-9-27 18:58:35
I have a Java application whose menus and other text varies according to the locale. So far I have a default properties file for English and a zh_CN.properties file for Simplified Chinese. When I run the application on Chinese Windows XP, Chinese text displays fine. When I try to run the same ...

Installing Locales

512 byte By joshdm at 2007-9-27 19:06:04
According to the description for Locale.getAvailableLocales()this method "Returns a list of all installed locales."I'm working with a variety of locales.I need to deal with Singapore (SG) and a few others (Malaysia, Phillipines).If I run through the array returned from ...

Greek characters with Microsoft JVM?

729 byte By jimesp at 2007-9-27 19:07:45
Is it possible to get Greek characters to appear on an Java 1.1.8 applet running on the Microsoft JVM (Internet Explorer 5.5)?I read input in UTF-8 format from a socket and convert it to a string as follows:String strText = new String(byteArray, "UTF8");When I print strText to the Java console, ...

Unicode - Amharic '\u1200' + === Is it supported. Useful links apprctd

1021 byte By Sum-shusSue at 2007-9-27 19:24:02
(cross post 'The Java Forum' - it could be my code)Help with Amharic characters range: \u1200 to \u137F - does any one know if it is supported?Have tried various calls as the code below shows. Any ideas please.import java.io.*;(method) Exception thrown{String unicd1 = new String();unicd1 = ...

Telling the language of a string

92 byte By snife at 2007-9-27 19:25:58
How can I tell what language the characters contained in a certain String object are?

Is it possible to use both russian and latvian in AWT components?

226 byte By rsolod at 2007-9-27 19:27:19
Hi all.I need to display both russian and latvian (non-Western) characters in AWT. I can do this on java.awt.Graphics java.awt.Graphics.drawChars(...)), but can't on any AWT-component.Can anybody help me?

Euro character in HTML with non-euro supported language

607 byte By andrewwestberg at 2007-9-27 19:28:17
I have a customer in Belgium who wants a servlet-generated webpage that displays the text in english, but the decimal notation as belgium and the currency as EURO. The problem is that en_BE_EURO does not work because it doesn't exist according ...

Property file location change

395 byte By parasmk at 2007-9-27 19:30:15
Dear All,I want to read from a properties file (myFile.properties) using ResourceBundle. But the property file must be outside the codeBase, that is in some directory NOT in the classpath.When I give rb.getBundle("C:\\Mylocation\\myFile") I get java.util.MissingResourceException: Can't find ...

Amharic - the story continues ...

4491 byte By Sum-shusSue at 2007-9-27 19:40:03
I tried this in a JFrame using the unicode thinking it would access the fonts directly from the system - it works for other scripts as you will see if you run it.I also tried it with Chinese and Japanese unicode values and these weren't rendered either - ******! As a DESPERATE MEASURE I then ...

i18n problem with multipart/form-data

569 byte By ksouva at 2007-9-27 19:44:19
Hi,I am having a problem with multipart/form-data posts in that all my parameters seem to arrive garbled with ? and other ASCII characters. I am using UTF-8 on all my JSP pages and use the ServletRequest.setCharacterEncoding("UTF-8"). This does not seem to happen with ...

UTF-8 encoding

102 byte By Jason_Prizeman at 2007-9-27 19:48:35
Are their any implications/overheads to having all my JSP's encoded in UTF-8.Cheers....

Displaying Hebrew Characters

740 byte By vijayksharma at 2007-9-27 19:53:24
Hi,I am stuck with this problem for quite a while. A simple program which displays Hebrew characters on JLabel componenets works on one PC but doesnot works (displays rectangular boxes for Hebrew) on other. Both PCs have same JDK and JRE version. I have even checked the fonts installed on 2 ...

jakarta i18n Tags

795 byte By Jason_Prizeman at 2007-9-27 19:53:41
I'm trying to use tag libs to i18n my jsp based site. I,m using jakarta i18n based tags. This is what I understand/done so far.Changed the page encoding on all pages to UTF-8.Searched through all of the pages for text/data that has to be i18n. Placed all this in a message tag. The message tag ...

Make Chinese characters in the backend DB right

825 byte By vwuvancouver at 2007-9-27 19:56:26
After I create a DB with the encoding option EUC_CN (in Postgresql), I can't get Chinese character store or/and retrieve right in my Java web application. I am sure the problem is not in the web application itself since Chinese characters are displayed correctly, and email with Chinese ...

UTF-8 to Shift-JIS

264 byte By dilaudid007 at 2007-9-27 19:58:42
Does there exist a way to convert from UTF-8 to Shift-JIS encoding?I'm trying to do this conversion in the simplest way possible, and I have run into a brick wall. Any elucidation on how I might go about this conversion would be greatly appreciated.

How to display chinese in swing components?

1801 byte By jinshuzhang at 2007-9-27 19:59:23
Hi I have searched and read lots of articles from this forum aboutthis issue. I have seen that this issue has been raised up several times, and most time it get answered and the questioners were satisfied with the answers. I have tried all the solutions I read from this forum, none of them ...

Getting Unicode value from Japanese Character

211 byte By sivasuthan at 2007-9-27 19:59:39
Hi All,I have a problem in Converting Japanese character to Unicode. I would be thankful if anyones let me know about How to get Unicode value from Japanese Text.Thanks In AdvanceSiva

File Name error when creating file in Solaris C locale

1875 byte By Paul1234 at 2007-9-27 20:07:41
Background Info: 1.In Java, we can use new File(filename) to create a new file. The filename there is a string denoting the name of the new file. 2.As mentioned in bug4409965, "The 'C' locale in a 7-bit ASCII locale, the 8bit characters enteredn are not read in properly probably because in ...