Display problem of Japanese characters in applets when viewed from Eng OS

572 byte By vijay_aditya at 2007-9-27 20:28:12
I have developed a web based application ,when i am displaying japanese characters in applets some junk characters were shown ,then some one suggested that it may be due to Font problem.i have removed the font so that it takes the default font,now i am able to see japaese characters when i am ...

UTF-8 and Chineese Characters

853 byte By rostom at 2007-9-27 20:33:26
I have a JSP with the following line at the very top: <%@ page contentType="text/html; charset=utf-8"%>This is so that it will use UTF-8 encoding to display non-english characters. Doing this, allows me to display Arabic, Hebrew, and English characters that are encoded in UTF-8 format ...

ListResourceBundle MissingResourceException

1720 byte By lief79 at 2007-9-27 20:41:37
Can anyone explain to me why the following code doesn't work. I was under the impression that the resource name had to be the class name, but I get this error:java.util.MissingResourceException: Can't find bundle for base name GUIResourceBundle, locale en_USat ...

Problem reading UTF-8 files.

1185 byte By MihaiMM at 2007-9-27 20:44:38
Hello,it's a long time since I've seen somthing as strange as this... I am trying to read a file (encoded in UTF-8). In order to do that, I am using System.setProperty("file.encoding","utf-8"); + a FileReader. Everything is OK.BUT!!! When I do not set the system property and I pass as ...

please a chinese text?

817 byte By asjf at 2007-9-27 20:45:41
hi, could someone tell me how to put in chinese characters into a java source file pls?ie. what goes in /*WHAT GOES HERE*/?//englishpublic class myResource extends ListResourceBundle{public Object[][] getContents() { return contents;}static final Object[][] contents = {// LOCALIZE THIS{"hello", ...

Are To and From Mime headers supposed to support Non ASCII

279 byte By nome02 at 2007-9-27 20:49:04
Hi,Are To and From Mime headers supposed to support Non ASCII characters and if yes all the encodings or just iso-8859-1. Also if somebody could refer me to the right rfc as a reference to this. I checked 822 and 2045 and couldnt find the answer may be I missed it.

Change font properties in Runtime

231 byte By michaelwah at 2007-9-27 20:51:54
I know we can change font.properties to control the mapping between logical fontsand system fonts.But is there any method that can control this in the program ?can we control these mapping in my program?

Key/Value pairs

318 byte By Jason_Prizeman at 2007-9-27 20:51:56
I have a large amount of data in a number of Resource bundles. What I would like to know is should I use a simple numbering system ie, 1,,2,3,4,....... for the keys, or should I use more meaningful names ie, greeting,toppage,securitytagcheck....etc.Baring in mind that I have loads of ...

Unicode(String) to actual Unicode !

327 byte By _calv at 2007-9-27 20:57:34
Hi, i have an unicode data which is retrieved from database, the unicode is in String format(\u4eba\u53c2), how to make it to be actual unicode "\u4eba\u53c2". i have a problem where the unicode from database doesn't give me the actual character but the unicode string itself. Please comment on ...

Japanese username and user.home

799 byte By kurisu1 at 2007-9-27 21:04:56
Hi,I'm using the Java plugin 1.3.1 on Win2000 and XP, and I have the following problem: I'm logging on a Windows machine using a japanese username. The user.home directory happens to include Japanese encoded characters. Because of this, the Java plugin is kind of going mad. It displays ...

How to display chinese in applet?

213 byte By hshi at 2007-9-27 21:08:49
I am using an english Win2K and IE6.0. In accessing a web site, the applet couldn't display chinese, instead, it displays little squares. What settings do I need to change? Or is it possible?Thanks.

java.util.Calendar.

886 byte By delnoij at 2007-9-27 21:13:51
Good morning.I would like to use the java.util.Calendar claas to retrieve the dates of the days (monday - saturday) in a given week of the current year.For week number 39 for instance this would be:23-09-200224-09-200225-09-200226-09-200227-09-200228-09-2002This is the code I am using:int ...

Locale standards

348 byte By rmayka at 2007-9-27 21:17:00
Hi, I want to apply locales to a site I'm translating, but I want to know what to expect. Is there documentation on each of the locales listing things like how the months are abbreviated?Thanks in advance,RamsayPS I couldn't find a FAQ for this forum, because I'm sure this question has been ...

i18n problem with decoding Japanese email with special characters

612 byte By khamsouk at 2007-9-27 21:20:48
Hi,I am developing an application to receive japanese email, however when I receive emails with special characters such as circled digits and circled kanji/kana characters they don't get converted properly using Javamail's MimeUtility.decodeWord() method when they had been sent using JIS ...

UTF8 setting in weblogic 6.1

765 byte By maneshsankar at 2007-9-27 21:23:08
Guys..this may sound very basic but sorry.. am confused..I have my database in UTF format with data having Japanese characters.I want this to get fetched by my application and display it in the browser through my XSLs. My application resides in WEBLOGIC 6.1. What is the setting I have to do in ...

16 bit SMS

566 byte By nome02 at 2007-9-27 21:27:55
The application under discussion is trying to send a 16 bit SMS notification. For the purpose iso-10646-ucs-2 is being used as the character set. So the encoding of the byte stream is basically converted to the aforementioned encoding and an SMS is sent. Now the problem is that under these ...

Chinese in java on Linux

431 byte By sxu1112 at 2007-9-27 21:36:11
Can someone please help me in trying to display Chinese on my Swing components on linux. My app displays chinese corrected for Windows already, but only squares on Linux.can some one provide me with a correct font.properites file for chinese? i do have chinese fonts installed, but not ttf.also ...

keyboard w/cyrillic characters

527 byte By McGuiganJ at 2007-9-27 21:36:37
Hi,Currently I have a virtual keyboard I create for a touchscreen application. For one of our clients I need to be able to display Cyrillic.But when I use Cyrillic characters in String[] that populates the array of buttons I get different characters.I use font Ariel, which I know supports ...

Character Encoding

353 byte By rahulsk at 2007-9-27 21:39:17
I am developing a web application which displays Japanses characters. The DB is also Japanese. I am using Apache Tomcat. The Tomcat console shows the Japanese data without any problem. However the browser doesnt display it correctly. I have tried writing charset as Shift_JIS and EU also. Kindly ...

Property files not end with .property

185 byte By yu_hung at 2007-9-27 21:42:47
Hi allI would like to open a property file that is not end with the .property. Does anyone know to use open those files with ResouceBundle?Kind RegardsEdmund

Input Method Editor needed

851 byte By boogersj at 2007-9-27 21:44:01
We have been using Slangsoft's IME for inputting Japanese Chinese and Traditional Chinese. The version we have works fine under JRE1.1.8 but does not run under JRE1.4.1.We are porting our application to JRE1.4.1 and realy need this functionality. The company Slangsoft does not seem to have a ...

!Tomcat 4.1.8 and UTF-8

650 byte By safir at 2007-9-27 21:49:33
Hi,i got UTF-8 to work nicely on my website in the text part, and at the same time i use it in jsp/servlets' output only for languages that need it. E.g., for English i use ISO-8859-1, because it doesn't need UTF-8.However, in versions 4.1.9 & 4.1.12 that i also tried, the pages that have ...

locale metrics with i18n

198 byte By isidoros692 at 2007-9-27 21:51:34
Can i18n be used to identify the locale metric system? something Like the currency in NumberFormat.e.g. Celsius or FahrenheitGallons or littreinches or millimetres

Resource Bundles, accross JAR files

757 byte By GLT at 2007-9-27 21:55:42
Hi all,I hope we are all have a good week?Anyway, onto my problem, the blit of my week (and its only monday morning).I have been charged with creating a resource bundle editor to allow our cutomers to edit messages in the application, you know the usual stuff, change colour to color and vice ...

UTF-8 Encoding Problem

575 byte By 033801094 at 2007-9-27 21:58:57
I am trying to display the Euro symbol on a JSP page, using iPlanet 6 SP3 (JDK 1.2.2) in International mode. <%@ page contentType="text/html; charset=UTF-8" %><%@ page language="java" %><HTML><BODY><%String Euro = new ...

Entering French characters (e grave) in JTextField doesn't work!!

1953 byte By rodfarmer at 2007-9-27 21:59:53
Hi everyone, I have been struggling for a few days now trying to work out how to enter French characters into a JTextField (forgetting what I need to do after that!!!! for the time being). Some someone please help!?!Background info:Java 1.4.1Running under Windows 2000Locale = en_USI basically ...

Replace static text in JSP pages

392 byte By arora_rahul at 2007-9-27 22:08:18
I have about 250 jsp files that need to be internationalized. Since this was never thought of earlier, the jsp files do not have reference to ResourceHandler Bean.Is there any automated tool that can help me find text in all these jsp files, and replace it with the right call to ResourceHnadler ...

Spanish Currency symbol incorrect at LocaleElements_es_ES?

684 byte By jperezf at 2007-9-27 22:12:14
The Peseta currency symbol is defined in java.text.resources.LocaleElements_es_ES as "Pts", however Windows Spanish/Spain configuration defines "Pta" as Spanish currency symbol. This fact is causing me problems at retrieving data from java enviroment to Windows enviroment.It is a bug? Who ...

How JRE recognize Euro configuration on Windows2000?

1060 byte By jperezf at 2007-9-27 22:32:58
On Regional Settings I've chose in "Your Locale (Location)": Spanish/Spainand on "Currency Symbol": €. After that even I've restarted Windows.However when I run this code under jre 1.3 i18n version (I do have under jre\lib directory i18n.jar file)//Locale localeDefault= ...

# key causing problem

874 byte By McGuiganJ at 2007-9-27 22:33:38
I have a virtual keyboard, 2 properties files both containing the # symbol.Text_en_US.properties #=#Text_ru_RU.properties #=u\2116In my code I have a String[] keySymbols[]= { "~","#",etc..}But I keep getting error with English keyboard when I try to load the # symbol.Here's error--> ~--> ...

Can I change Encoding used in InputStreamReader

622 byte By mickyg at 2007-9-27 22:40:24
Hi Java Gurus:Wanted to know if I can somehow change the encoding used by InputStreamReader, the value of which I get by InputStreamReader.getEncoding().I did change file.encoding to UTF8, but that does not change the encoding used by InputStreamReader.I am getting garbage data when reading a ...

How to check for valid characters for an encoding?

478 byte By tomball at 2007-9-27 22:40:43
I want to enhance a language flashcard program so it can accept strings in a specified (non-system) locale and store them in an XML file. That part works, but if an invalid character for the specified encoding is entered, it gets scrambled. I want to therefore verify that each entered character ...

Failed to view Japanese text in mail sent by javamail

1195 byte By gharesh at 2007-9-27 22:53:30
Hi,I have a HTML FORM - JSP, Tomcat, MySQL application,The data is entered in Japanese in the form and JSP stores the data in the MySQL database. I can retrieve data from db and display on screen in Japanese.However now I want to fetch the data from database and send that data as an email to ...

encoding for Japanese web application

1235 byte By gharesh at 2007-9-27 22:53:56
We are developing a HTML <--> JSP <--> MySQL web application.user will enter data in Japanese, it will be stored in Database and same data will be presented to the user in HTML format.Now as I understand, there are multiple character encodings available for Japanese language. a. ...

problem between windows and unix

351 byte By nieflh at 2007-9-27 22:56:47
i got a class and a text file whith characters like '? in it.when i launch my class on windows there'no problem.The file is read and the data are record in Oracle correctly (whith the accents).When i copy the data and the class on unix i got '?' instead of '? in Oracle.Can anybody know why ...

encoding chars

495 byte By bvp0001 at 2007-9-27 22:57:44
I have a basic question about Internationalization.We are using 1.3.1. I am writing an xml file. However there will be international characters. Instead of writing, for instance, the "A" with the 2 dots, I would like to write Ä. I see that 1.4.1 has some nice classes in the packages ...

BOM handling by InputStreamReader

513 byte By kuroteru at 2007-9-27 23:00:07
I noticed that InputStreamReader does not take care of a BOM character found in UTF-8 encoded file. I don't think it is right to include BOM in UTF-8 file, but that is what Microsoft Notepad writes out. InputStreamReader does not discard the BOM and leaves it in the buffer.Now my question is, ...

Use of non gregorian calendars in internationalized applications

229 byte By pthiebaud at 2007-9-27 23:06:40
My question may be naive, but I am wondering whether some internationalized web applications enable the use of non gregorian calendars.Would it make sense ? Is it used by some applications ?Thanks in advance.

i18n of menus and menuitems

1249 byte By 31577esfahana at 2007-9-27 23:08:30
Hi there,I'm just wondering who to internationalise menus and menu items, or more specific the associated mnemonic. It is not a problem to internationalise the menu text, but how do I set the appropriate mnemonic? In the JDK 1.3 JMenu and JMenuItem only support the setMnemonic('myChar') ...

Finding out timezone from TimeZone offset

634 byte By markkantora at 2007-9-27 23:11:04
Hi,I'm using JavaScript to find out the local time on client, setting it to a cookie.I then retrieve the value in a JSP page to find out the correction necessary for adjusting the time (in UTC) to local time. The problem, however, is that JavaScript returns the Daylight Savings Offset and the ...

Operation System effect the data been stored

502 byte By LeLia at 2007-9-27 23:17:22
Dear friends:I want to design a application base on servlet to support both Simplified Chinese and Traditional Chinese, and I use UTF-8 to encode the data posted byform store it in Ms Access. Unfortunatly it could work well on Simplified Windows 2000, but under Traditiona Windows 2000 it can ...

Problem to display special characters under Linux

650 byte By laffreuxthomasa at 2007-9-27 23:19:53
Hi !I've just installed a Debian and the JDK 1.4.0, but Java programs cannot display french characters...This program :for (int i=0; i < 1000; i++) { System.out.println(i + " " + (char) i);}display the first 127 characters, and then '?' for number upper to 127 :...123 {124 |125 }126 ...

Display of the Euro Currency symbol by a JSP

573 byte By billkleina at 2007-9-27 23:22:38
What am I doing wrong ? I always receive the following:Price 1,99 ? whenever I run the following JSP:<%@ page import="java.util.*, java.text.*" %><html><meta http-equiv="content-type" content="text/html; charset=UTF-8"><% Locale myLocale = new Locale("de","DE", "EURO");; ...

Japanese characters getting transformed to HTML escape

1780 byte By gharesha at 2007-9-27 23:27:21
Hi,I have a HTML FORM - JSP, Tomcat4, MySQL 3.23.41 application,The data is entered in Japanese (Shift_JIS) in the form and JSP stores the data in the MySQL database. I can retrieve this Japanese data from db and display on screen in Japanese.When I view the table data (in MySQL) using ...

Arabic letters appear as _ in java Application

323 byte By Zachary21a at 2007-9-27 23:37:23
Hi All;We have one of our web based application that is using Java plugin (JRE 1.3.1) where Arabic letters appear as "_"I tried to download a newer version of i18n.jar/font.properties.ar with no luck. only few letters appear (actually 4 only) but the rest appear as _any help will be ...

UTF-8 encoded property files with RessourceBundle

597 byte By mreutera at 2007-9-27 23:38:13
Hello everybody!Is there a way to force RessourceBundle to use a specific kind of encoding for the property files I've defined?I plan to encode the property files for my application using UTF-8. This will avoid problems, when e.g. the labels for some buttons will get names in Spanish, German, ...

Korean Font only works in BOLD

671 byte By BleuRubina at 2007-9-27 23:47:01
I am able to display Korean characters in my GUI as long as I specify a logical font in BOLD style. Also, the characters appear to be much smaller than the ones that appear in the buttons for a JOptionPane, for example. So I took a button from the JOptionPane and put it on my test dialog and it ...

Windows Regional Settings and date formats

665 byte By khookea at 2007-9-28 0:05:20
Hi - I am using java.text.DateFormat to format dates for different Locales (I pass the current locale into the getDateInstance() method).When calling getDateInstance() you also specify one of the SHORT, MEDIUM, LONG or FULL constants to get the desired date format. This all works fine.However ...

How to write from right to left ?

220 byte By ATOVa at 2007-9-28 0:13:31
g2.drawString(?This is the String to draw?, w, h);How can I write the sentence ? 'This is the String to draw' as the above statement shows, starting at the right side (right margin), to the left ?

Reading Unicode Chars From File

1005 byte By escowlesa at 2007-9-28 0:21:01
I'm having a weird problem that I haven't seen anybody else mention: when I try to read Latin-1 Unicode characters from a file, I actually get two characters. For example, when the file has a e with acute accent (\u00e9), I get \u00c3 and \u00a9. \u00c3 is constant, regardless of what the ...