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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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++ ...
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 ...
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.
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 ...
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 ...
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 ...
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.
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 ...
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 ...
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 ...
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 ...
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");
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. ...
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 doesn't support the Macintosh character sets by default. Are there additional charsetdecoder/encoders available somewhere?
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 ...
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 ...
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 !
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
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 ...
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 ...
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 ...
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
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 ...
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 ...
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 ...
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
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ?
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 ...
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 ...
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 ...
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. ...
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, ...
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
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.
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 ...