Alt+~ UI Hangs while entering Japanese text (20 Duke Dollars)

589 byte By jdcankia at 2007-9-29 13:40:52
Hi AllI hava a JApplet. Don't have any custom input methods. JRE version is 1.3.0_03. All my text components are enabled to handle inputmethods.When I try to enter some characters Alt + ~ and then SEI and 2 spaces (Some thing like that), first <space> is selecting the text and second ...

can not save (? to xml file.It replaced by ?Why?

1119 byte By StarStara at 2007-9-29 13:41:04
Hi,I'm puzzled now. The jdk is jdk1.3.1_06, The web server is EASERVER of sysbase, The encoding of the jsp page is "UTF-8";<%@ page language="java" contentType="text/html;charset=UTF-8" %> The encoding of the xml file is "UTF-8".<?xml version="1.0" encoding="UTF-8"?> I input the ...

PLZ HELP !! displaying arabic letters on JTextPane

876 byte By w_badera at 2007-9-29 13:48:47
plz guys , i really need someone to help me ...i am building a project but the interface should be in arabic , but i had some problems viewing arabic letters , for example the project has a JTextPane that should display arabic letters through the running , if you try to write on the JTextPane ...

Problem reading UTF-8 byte stream

751 byte By lone74a at 2007-9-29 13:55:12
Hi all,I'm having problem reading a utf-8 encoded bytes streams. Every thing works but when i try to display it the front of the message will always have a "?" attached to it. here's the pretty innocuous code :try {BufferedReader in = new BufferedReader(new InputStreamReader(new ...

Internationalization -- Earlier or Later?

387 byte By MarkFairchilda at 2007-9-29 14:00:06
Is it better to design for internationalization early, or to leave it until later? I'm wondering this especially with regard to things like type-safe enums, and other classes that -- although easy enough to make internationalization friendly -- exist in such number that incorporating all the ...

Which locale do I have?

517 byte By Tonytammaroa at 2007-9-29 14:10:24
I'm writing an open source application and I want it to use i18n, so I created my properties file for the various languages (at the moment only IT and EN).What I would like to know is how to get which locale are supported by my resouece bundle at runtime; in this case I would like to get ...

character set problem

1220 byte By shogun1234a at 2007-9-29 14:27:10
i'm using oracle 7.X database. its character set is zht16big5. working env is j2sdk1.4.1_01, ms 2000 pro. my problem is, when retrive data from database, if the character is user self defined font code (e.g., FEEB), after Resulset.getString(). the character seemly is converted to question mark ...

Greek file-name handling

1102 byte By ioannisca at 2007-9-29 14:42:02
helloI am making a program to automatically rename greek filenames to greeklish (still in greek but written with english characters)I have a serious problem because Java seems to have a problem handling those characters in my machine - or maybe I am doing something wrong.This simple program ...

How to read Japanese parameter values in servlet

1905 byte By Bok-Mana at 2007-9-29 14:55:25
I am working on an application that accepts requests via URL from another program written in C++. The C++ app constructs a URL, encodes all parameter values into UTF-8 and submits the URL using the Microsoft Http apis (I think, but I am not completely familiar with the inner workings of the C++ ...

Internationalizing Basic HTTP authentication browser dialog for UserID

1004 byte By angelaananda at 2007-9-29 14:58:20
Is it possible to have multibyte user ID for Basic HTTP authentication? Based on RFC2617 user ID has to be *Text, which basically is ASCII. But I thought maybe someone has a workaround for this limitation. Our entire web app is internationalized, we use UTF-8 as encoding for JPS pages and ...

arabic/french calendar layouts

269 byte By PaulJHa at 2007-9-29 15:16:03
bit confused about some calendar layouts. do french calendar layouts start with monday or sunday (i've seen references for both)? doea anyone have any ideas about laying out an arabic calendar? is it done rtl or ltr starting wuth saturday or what?thanks.

data are not transfered as unicode through sockets

1105 byte By igorcova at 2007-9-29 15:17:15
I have aplication with connection through sockets. I use PrintWriter and BufferedReader for writing and reading data, created lik this:pw = new PrintWriter( skt.getOutputStream(), true );br = new BufferedReader( new InputStreamReader( skt.getInputStream() ) );When I send data I put this code ...

problems concerning files coming from a mac

657 byte By araleiusa at 2007-9-29 15:37:19
I have a problem that must be related to caracter enconding and I haven't been able to find out how to solve it (which doesn't say much since i'm just starting with java, working on my second application). I have some text files which have been created by Hypercard (mac 9.2) and when I try ...

Problem in Display Tai font in Web application

432 byte By sosandipa at 2007-9-29 15:49:14
Hi,I am trying to store as well as display Thai font in my web application. The architecture of my application is as below:JSP (with XML Parser)+ EJB + Oracle Database.I am using Weblogic 7.0 as an application server. I am using ISO-8859-1 for encoding the characters into Thai. But it displays ...

read from file, not supporting hebrew

279 byte By ace_lowa at 2007-9-29 15:56:43
i'm using files to store languages for my application.when choosing hebrew for my UI, i'm getting Gibrish. when writing in hebrew in the source code, all is good. when trying to fetch words from the file, thing are getting ugly.any thoughts? thanks.

After reboot german umlaute are lost

304 byte By nadenna at 2007-9-29 16:05:43
My server application does not show german umlaute after rebooting the linux box. It is started by a script in init.d/rc5. The script calls a C routine that really starts the server. The crazy thing is that if I remove the script from init.d/rc5 and call it manually after reboot everything is ...

unicode support in java.io.File.listFiles()

753 byte By agillilanda at 2007-9-29 16:06:28
I am trying to list all the files in a given directory using the File.listFiles() method, yet for some reason the File objects returned have invalid paths when a file has unicode characters in its filename.example .. a test directory has these ...

Getting the three-letter locale code that windows has (using java)

1235 byte By rpriest1a at 2007-9-29 16:12:09
How can I generate\retrieve the same three-letter language code that Microsoft Windows uses (see: GetLocaleInfo api call: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/intl/nls_34rz.asp).Here is the code that that you will get when calling ...

Reading Internationalised Bundles Outside of a Jar File

1217 byte By wwe8a at 2007-9-29 16:20:57
I have seen this question many times throughout this forum and other forums where a jar file is tryingto load a resource outside of the jar file. The answers are often scattered or partial solutions. This is an attempt to provide a complete solution.Step 1) In your manifest file add to the ...

HELP~!!!!!! UTF8 String length and toCharArray problem

286 byte By apaclinka at 2007-9-29 16:24:58
String UTF8Chinese="鼲鼼";native2ascii.exe give me \u4e00\u4e8cUTF8Chinese.length() give me 4and toCharArray() give me a 4 char array but not twoI have checked and checked,even I used UTF8Chinese=new String(UTF8Chinese.getBytes("UTF-8"),"UTF-8");

UTF-8 encoding not based on platform encoding, using less than 1.4 version

312 byte By beuuetta at 2007-9-29 16:35:48
The string is not platform default encoding, and I must use 1.3 version of java How to a string to encode UTF-8 ?Over 1.4 version, there are URLEncoder.ecode(String str, String enc) method.So this problem will be easily solved.Plz Could you let me know hot to solve it. ...

Losing UTF-8

592 byte By rakeshnambiara at 2007-9-29 16:42:25
I have an XML file which has UTF-8 data (using it for spanish characters now, but need it for Chinese later). The XML basically is just an element and value, which when the server starts up is loaded into a hashmap. When we read of the hashmap and use it for display, it shows junk characters. ...

java.nio MacRoman

139 byte By bertvanelsackera at 2007-9-29 16:46:07
java.nio doesn't support the Macintosh character sets by default. Are there additional charsetdecoder/encoders available somewhere?

Specifying the charset to the compiler

364 byte By jpmenia at 2007-9-29 16:56:10
Hi!I got a weird problem. I'm building a java system with eclipse, and when I compile se sources with the eclipse built-in compiler, everything works fine, but when I compile directly with javac, all my ISO-8859-1 characters are lost!There is a way of telling the compiler the charset to be ...

German, Russian, Tschechien, etc Input on Webpage

435 byte By tobiasschmidtSa at 2007-9-29 16:57:25
Hello,I have to create a website which offers the posibilty to request searches in multiple languages. I want to know if there is a possibilty to recognize the language of the input data. For example a user enters Russian chars I want to recognize them and use the business logic according to ...

Vietnamese in Java ?

241 byte By gnada at 2007-9-29 17:03:53
I'm a Vietnamese. So, I want to display Vietnamese in my button or lable...on my Frame or Applet !I don't know did Java support my language ? How should I do to display Vietnamese ?Please explain me !Thank you !

UCS-4 and Java

299 byte By toomas_a at 2007-9-29 17:10:15
I have two questions regarding 32-bit character representation in Java: 1. Is there any class similar to the String class that can work in 32-bit mode?2. Is there Reader/Writer support for this class? I would need to read UTF-8 and UTF-16 formated files with non-BMP

How do I determine the encoding?

531 byte By springarina at 2007-9-29 17:14:49
I am writing a application that strips text from a given URL, but the problem is that all the different URLs contents are encoded by different encodings. Ex. URL_1 content is encoded in Cp1252 and URL_2 content is encoded using iso-8859-1 and so on.....Is there any way to predetermine the ...

How can I display Arabic text in browser

350 byte By eswarna at 2007-9-29 17:17:53
I have MessagesBundle_ar_AE.properties file created containing key,equivalent Arabic value text. When I try to get this key value by using Bundle object.. MissingResourceException is occuring. It says can't find resource for bundle,PropertyResourceBundle for specified key, eventhough the ...

Text in propeties-file

454 byte By MatMiea at 2007-9-29 17:29:41
Hello!I'm working, with a group, on a project where it is necessary to translate a complete text. We like to use the properties-file of the ResourceBundle, we are using for the other translations. Now our problem is that we don't know how a carriage return (dec 13/hex d) is expressed in the ...

Version of Unicode

158 byte By Ataru_Nakazawaa at 2007-9-29 17:33:40
I would like to know the version of Unicode, which is used by J2SE 1.4.2. If I wanted to get the information, which website should I visit?Ataru

charsets - java -oracle

2576 byte By jugaa at 2007-9-29 17:36:35
Hi,I am trying to transfer data from an Oracle -Long field to an CLOB field in another Oracle- database.The transfer of the data works fine, except for the tranfer of the euro -currency -sign. The charsets of the databases are set to ISO8859-15.This charset is supported on my operating ...

Sharing ResourceBundle among different classes?

537 byte By FernandoSanza at 2007-9-29 17:37:17
Hi there,I have a GUI which is composed by different classes (many of them in different classes).I was thinking about using an inital window where the user sets the language and country. Then, I can pass the two arguments to the main GUI constructor.But, am I supposed to have a public ...

Problems with Unicode webapplication

2171 byte By fredrik_oa at 2007-9-29 17:49:29
Hi,I am developping a small webapplication which is supposed to support Unicode (different characters such as 齋齖 etc.).I have a simple form which calls a JSP page.The JSP page prints the recieved parameter and prints it to the WEB browser.The JSP page also prints the parameter to a file.If I ...

timezones vs countries or cities

231 byte By a_elbedawya at 2007-9-29 18:26:54
hi all,does anyone have a list with countries or cities or country/city and the corresponding timezone id in java.i need this list coz the timezone.getdisplayname is not so user friendlythanks in advance

Conversion of UTF-8 code units to NCRs

1022 byte By trymassa at 2007-9-29 18:46:54
Hi,Maybe a newbie question; but I've been struggling with this for quite some time and would very much appreciate any help that anyone could give (preferably code sample).I've got a string which, among other standard characters, also comprises UTF-8 code units such as '%C4%8D' (representing ...

Urgent: Problems showing special characters in web application

1856 byte By bjorn_wanga at 2007-9-29 18:47:39
Hello,I've been browsing the forum for hours without finding a solution to my problem, so now I'm hoping for some expert responses to my posting. :-)My problem is in converting an iso-8859 based web application to UTF-8. After changing the character encoding to UTF-8 special characters will ...

Problems with UTF-8 output

765 byte By Heppstera at 2007-9-29 18:48:31
Hello,I've struggled for some time with output of UTF-8 encoded webpages. All special characters (ASCII value above 127) show up as garbage.I'm doing output of text from property files and static text defined directly in the Java code. The application is Struts based, and UTF-8 encoding is ...

Externalize strings in JSP

388 byte By salilsurendrana at 2007-9-29 18:50:11
Hello Friends,I have a web application that has JSPs in which text is hard coded in english. Do you know of any tool that would find out out what these strings are and where are they located? I do know that an IDE named eclipse does have a plugin that externalizes strings in a java application ...

Using codepages.

510 byte By AdrianEdmondsa at 2007-9-29 18:58:35
char pageHebrew[] = {0xE7,0xE1,0xF8,0xFA,0x20,0xFa,0xF0,0xE4};String pageTempHebrew = new String(pageHebrew);String inputPageHebrew = new String(pageTempHebrew.getBytes(),"Cp1255");The above snippet will throw and UnsupportedEncodingException as this codepage is not supported. However, I see ...

FileReader does not return the correct byte value of the characters

754 byte By PeymanKa at 2007-9-29 18:59:58
I have some text in a very old persian code page and all I have from this code page is numerical table of the characters(like ASCII table).With a HashMap, the equivalent Unicode characters are mapped to the numerical values. With using FileInputStream and its read() method, it converts ...

Malaysian Locale Support

211 byte By dallia at 2007-9-29 19:06:03
We are using JRE 1.4.1_01 which doesn't have "ms_MY" Locale support.2 questions :1) why isn't it supported ?2) is it supported in a more current JRE ? or when will it be supported ?

NumberFormat and HU_hu locale... ?

587 byte By advra at 2007-9-29 19:08:24
Anyone here from SUN can check on this? When I format a number using the Hungarian HU_hu locale, I get results like123456 -> 123 4561234567.12 -> 1 234 567,12which looks fine.. BUT the spaces are NOT spaces, but rather char(160)... which is doing some really bad things to my UTF parse of ...

Resourse bundles and JSP problems...

695 byte By mbatsisa at 2007-9-29 19:24:57
[also posted on the JSP forum, later thought this may be more appropriate] Hi,I'm trying to output greek using resource bundles in my JSP as follows:Locale locale = new Locale("el");// pick the right resource bundleResourceBundle messages = ResourceBundle.getBundle("messages", locale);and ...

Writing db records into .csv file. (Respond please)

316 byte By sriworlda at 2007-9-29 19:30:18
Hi,Pls. help in writing UTF8 db records into .csv file. Generated .csv does not contains the characters which are retrieved from db. When I view the contents of file, i found some other characters instead of kanji data. Can anyone help me in this regard...Many many thanks in advance ...

type in unicode characters

455 byte By frederic-pepe-barachanta at 2007-9-29 19:31:31
hello.How do i do to type unicode characters ( actually Hindi, Tamil ) in a swing text component while being on an european keyboard?I have to make an utility where you have to type some of the Indian languages, but i actually can't test other than copying unicode characters from web pages. ...

Font.properties

457 byte By tabassum.khana at 2007-9-29 19:37:25
Hello,i am working on Oracle's locale builder utility that uses java runtime. i need to add Arial Unicode MS font in font.properties file.I have that font in my system and have added that font in the above file at only one location i.e dialog.n=Arial Unicode MS, Default_Charset.i need to know, ...

Applet Internationalization ?

127 byte By kifweta at 2007-9-29 20:00:36
Dear Experts,Is it feasible to make an internationalization for an applet?Thanks and Regards,kifwet

Formatting a decimal amount

167 byte By MobiJavaa at 2007-9-29 20:04:24
Is there anyway to format a decimal amount with a space as a thousands seperator, using a number format mask. Example of amount$ 20 000.00Thanks.

DST runtime 1.3 and 1.4

1321 byte By gwy1a at 2007-9-29 20:04:41
Hi, I'm working whith an app serv that uses runtime 1.3 and the clients (swing) run whith 1.4. In some cases the date that appears in the app. is different from the date stored in DB. The problem is that the same code produces different dates whith runtime 1.3 and 1.4. My time zone is ...