English Alphabets in search not consistent across different UIs.For example English and Japan UI, If "A" is entered in "From" field and "Go" Button is clicked, then even "To" field is defaulted with last alphabet i.e."z" and search results show account starting from A to Z. But For Korea and ...
399 byte By
acpgsa at 2007-10-1 18:39:05
I have a J2EE application and currently we are storing the Unicode data in xxx; format. The browser can display this properly but the java swing application cannot. So I need to convert this to \uxxxx format. Is it advisable to store the data in the d/b in the \uxxxx format or xxx; format ...
201 byte By
amsmotaa at 2007-10-1 18:44:13
Hi again:I wonder how can we i18n a attribute like in <IMG src="image.gif" id="foto" alt="I WANT TO I18N THIS!!!" >I'm using jakarta-taglibs 18n.Thanks a lot.
Hi Friends,I have a question.I would like to accept a string(Chinese Characters) from a TextField then save it to a iso8859 format file, and I need to read date from that file and convert it back to unicode string and display in TextField later.I have try getBytes methord, but it does not work ...
Hi,I have a problem in understanding what happens when we select different encoding options in the browser.I have loaded a webpage encoded in shift-jis format (www.honda.jp.co), then I just the utf-8 encoding in the browser (IE or firefox), the text gets cluttered.As I understand, the browser ...
Does anybody knos how to set JButtons mnemonic for non-english characters?My mnemonic is loaded from a resource bundle, and in the documentation the setMnemonic(char) is only limited to english and it is written that the user should call setMnemonic(int) instead.So what value should this int ...
I dont know what they call this but every swing apps head has this area where u see _, square, and X for minimize,maximize and exit repectively.On the left is the Title. For example in this Browser Wondow the title reads "java Forums - Post TOpic: internationalization - microsoft Internet ...
hi, I have a project on tomcat. I have rewrite my jsp to multi-language according to user's browse language setting. User's language is English, the jsp shows them English. User's language is Chinese, the jsp shows them Chinese, and so on. But in my java bean code, some exception are thrown ...
Hi,My application is currently using the following configuration1..Weblogic Server 7.0 (running on Windows Machine with Japanese OS)2..JDK 1.3I am retriving some data from the database in my JSP(say JSP1).Some of this datais in Japanese.Now I form a URL using some of the Japanese Data and ...
319 byte By
pasiga at 2007-10-1 19:58:14
I have made a jsp application. I use html text input, in order to submit the data and a bean that I created and a "<jsp:setProperty..." to pass the data to some variables. But unfortunately the greek characters are passed as questionmarks in the variables. What can I do in generaly to solve ...
HiWe have the need to display several macrons, eg in the word 'shogun' there is a line above the 'o'. To get the 'o' with a line above it, you can specify: "o"+"\u0304"We encounter these sorts of 'combining macrons' during data imports and were thinking of searching for this pattern and ...
Hi all:I want to develop a java application to handle some difficult traditional Chinese in WinXP. The Chinese word may contains more than 20000 difficult words. And this maybe use Unicode 4.0. I know WinXP support Unicode 4.0. Due to some reason, I have to finish the AP with JDK1.4.2. Does ...
Hello everybody,I create a GUi application in java swing. Now i want to navigate between the screen but the timing between the screen is very slow bcoz i imported the class from package to another package. Now i want to extends one package to another package to reduce the navigation time but it ...
Hi, I am trying to implement the multilingual in my struts application.I have done it successfully through browser setting.Now I want to select a language on my login page through drop down and then application should be opened in the choosen language. i.e. i want to change the locale through ...
Hi all,First off, I am forced to use JDK 1.18. I am having problem in displaying arabic, both through AWT as well as at the console. My desktop (Windows XP) supports arabic. The following does not do much. It was just supposed to show how it works. It displays rubbish at both the console, as ...
130 byte By
cheewua at 2007-10-1 20:26:15
Hi,I would like to use some classes at "sun.io",but can't find the Java DOC and source code.Could u help us?
1054 byte By
Ken_Leea at 2007-10-1 20:32:02
Hi,I have this problem on displaying chinese char on my awt button.Not sure whether I'm doing it correctly but, when I run my applet (which contain the frame that contain the button), it will NOT be able to display it (Using Sun JVM).But, if I'm using Microsoft JVM, it will able to display ...
433 byte By
s_huia at 2007-10-1 20:35:03
Java's ISO-2022-JP supports:ASCII (ISO-IR 6)JIS-X 0201 Romaji (ISO-IR 14)JIS-X 0208 Kanji (ISO-IR 87)I have a string that is encoded as follows:ISO-IR13=ISO-IR87Basically one string with the first half encoded in ISO-IR 13 and the other half in ISO-IR87.Does anyone know what Java encoding to ...
226 byte By
cam_pdxa at 2007-10-1 20:36:40
I have a test app where I can assign a java timezone and return time info - However, I don't see a way to look-up a java time zone based on location (combination of city/province/state/country).Is this possible?
[nobr]Say I have a JSP which specifies "text/html; charset=utf-8" as the ContentType and I want to write a Chinese text literal in the program text and that literal includes characters from the Big5-HKSCS charset, and let's say I am writing this JSP program on a Redhat 8 box running Tomcat ...
Hi,I need to read a XML through a URL. The code is the following:URL u = new URL(srcURL);InputStreamReader r = new InputStreamReader(u.openStream());StringBuffer sb = new StringBuffer();int c;while ((c = r.read()) != -1) {sb.append((char)c);} return sb.toString();What is the right way to read ...
863 byte By
bederta at 2007-10-1 20:48:23
We have a webapp that reads a timestamp from a database. The displayed value is always 1 hour less than it should be. Obviously the system does not automatically recompute the (UTC-)timestamp according to our timezone. What is the best way to convert the value of the timezone manually?I tried ...
2331 byte By
fuchs.ja at 2007-10-1 20:55:46
Hi!I have got a big problem trying to make one of our german applications available in czech.We are using ResourceBundles with .properties files for our texts and have now translated them into czech. When loading the bundle by calling: ResourceBundle rb = ...
what do i have to do in my jsp page to make IE auto select unicode encoding automatically?its always on Western Eur (ISO)and i have to change it manually to unicode for the jap characters to display....top of my jsp looks like below<%@page contentType="text/html"%><%@page ...
2066 byte By
gschucka at 2007-10-1 20:57:48
Hello. I am having some issues localizing JSP to Japanese. I have read a lot of stuff on the topic. I have my .properties file in unicode with native2ascii, etc.When I debug under Eclipse 3.0, I see the Japanese characters correctly displayed in my properties file and inside of strings internal ...
public class TestProgram extends HttpServlet { public void doGet(HttpServletRequest req, HttpServletResponse res)throws ServletException, IOException {res.setContentType("text/plain; charset=EUC-KR");PrintWriter out = res.getWriter();res.setHeader("Content-Language", "ko");Locale locale = new ...
291 byte By
VC@TWa at 2007-10-1 21:01:24
Hi, allI prepared 2 resource bundle for my application (english and chinese). Now it come to me, which resource bundle will be used if this application run on japanese or france operation system? chinese or english? Can I choose one as default?Thanks,Vincent Chen
515 byte By
Renwua at 2007-10-1 21:08:31
I wonder how PrintStream, which deals with bytes, can handle Unicode which requires at least a full Java char. The stream used for screen output by the class System - System.out - is a PrintStream.The JavaDoc of PrintStream says: "All characters printed by a PrintStream are converted into bytes ...
*************** What I'd like to doI'd like to create (X)HTML pages with Swing text widgets thatallow users to type in Unicode Russian, Georgian, Hopi, or whatever.But I can't assume that the users are capable of installingnew input methods or fonts to the appropriate Java installationused ...
HiIn my application some text is edited, saved as XML and sent to a device that does not understand unicode. Therefore I need a way to make sure that only characters included in a specific codepage is entered?I'm using the Xerces xmlserialize class to serialize the xml document, and set the ...
676 byte By
mwngaia at 2007-10-1 21:16:03
Hi,I have attempted to display 4-bytes characters in textfield, but to no avail. Here is part of my coding:int b[] = { 131096, 19985, 131160};String a = new String(b, 0 , 3); // use code point to define the stringTextField hwtext = new TextField(a, 5) ;hwtext.setFont(some font instance ...
hi alli am new for unicode setting.basically i am using jdk 1.4.05/servlet 2.3 IDE is WSAD 5.1.2thro my web application inserting vietnam character (unicode using UniKey Tool) into my database.(that input values are convert into XML string) so i am using xml parser to parse this xml string. but ...
Hello.I'm facing a bit of a problem I'm not quite sure how to tackle. The problem is that I have to create a Swing application that will have multiple components that may be displaying different languages that may each have specific symbols.Of course, my primary question is "how do I do ...
1083 byte By
abhayaa at 2007-10-1 21:22:25
hi,i format values from the db using format(double) from DecimalFormat. this works fine. now when the form is submitted, i need first to validate and then to store in the db. i am facing 2 problems:1. value 1234.56 in polish in localized form is 1 234,56. the thousand separator is a whitespace ...
Hi I have gone thru many sites that deals with i18n using Java. In all the sites the translation of numbers to specific languages is not dealt with. Only the formatting of the numbers are explained. Some languages have their own glyphs of representing the digits 0-9, though they are not used ...
hi,I started a project that will support 3 asian languages.... chinees,Thailand,Tamil.my basic problem is ... how to capture a language cahrs in a text box.thanksNaresh G
Hi all,Hopefully this is a quick one...I have about 300 .properties files I need to run native2ascii on. I'd like to do this by pointing native2ascii to a directory on the hard disk and having it convert all *.properties files in that directory.As of now I only seem to be able to get it to ...
762 byte By
T.Palkaa at 2007-10-1 21:31:30
Hello, I'm using ResourceBundles along with XSLT, and an issue that I'm trying to resolve is whether I should or could keep HTML markup outside of the resources. Some of the messages that my app displays have special markup, for example.Good morning, <b>{0}</b>!In Polish (just to ...
Does anyone know of any components out there that can guess the language used in a particular piece of text?I'm familiar with some of the algorithms. The most commonly-used one seems to be n-gram based. I've been googling the term "language guesser" and "language identifier" to no avail, ...
438 byte By
rkippena at 2007-10-1 21:38:28
I'm developing an application that allows the user to specifythe scale of the graphics view.The underlying value is stored as a double. The user can changethe scale value by typing the value in a text field.Currently, the text field document preverifies the input to makesure that it is a ...
564 byte By
sennata at 2007-10-1 21:41:02
Hi all,I'm writing characters to output file (am using UTF - 8 encoding). When I write to the text file, the output is fine. But when I write it as CVS the output got scrambled. SampleFran鏰is - TextpadFran莽ais - CVS (Scrambled)I'm using the following stream ...
568 byte By
Egg_doga at 2007-10-1 21:50:26
I'm looking at formatting a number without the decimal separator.i.e.17.9 ->179I've tried the following but I can't figure out how to set the decimal separator to nothing.DecimalFormat nf = (DecimalFormat)NumberFormat.getIntegerInstance();nf.applyPattern("#.#");DecimalFormatSymbols aDFS = ...
what is the recommended way to store japanese into a mysql or oracle database?should i use native2ascii and store the ascii result in the database?like the same way i did for my properties file/resource bundleany comments appreciated
is there a texteditor that i can edit the raw UTFinstead of seeing the actual language?i am currently using textpad
166 byte By
rkippena at 2007-10-1 21:59:38
Specify method:public void localize(Locale l);orLocale.setDefault(...);public void localize(); // localizes based on default locale
654 byte By
rkippena at 2007-10-1 21:59:55
I have an object. At the GUI, the user can set a property of the object.e.g.setRange(double min, double max) {if (min < max) // throw exceptionI want to localize the message in the exception. Currently whatI have is a resource bundle that has an entry:{ "exception.range", "Required: (min ...
Hi Experts,We have developed an Application which is Localized. We are facing some problems while Handling the Japanese Characters. The platformOpertaing System : LinuxLanguages : JSP,JAVA,ServletsCharacter Encoding is set to "UTF8"We are storing the japanese string in the hidden text box in ...
743 byte By
circo21a at 2007-10-1 22:02:25
HelloI have a problem with my application. It uses internationalization, using resourcebundle. The problem is that now, we have to include a new language: Polish, that has new characters.Our data is stored in XML files. We used to store that XML with ISO-8859-1 encoding, in plain text. From now ...
I have a single xml document that contains all the text displayed in my application. I now want to translate the text into other languages and I thought I could do it my using the SAX to parse the individual elements, translate the text and then write out the resulting file. Are there any open ...
66 byte By
alex_ta at 2007-10-1 22:08:19
What is proper way to localize plurals (1 user / 2 users) ?