Conversions of characters

730 byte By kabuhassana at 2007-10-1 9:55:19
Hello,We developing JAVA net service. The service recieves a message from a TCP/IP client, pass it to a stored procedure on the DB then takes the response from the stored procedure and returns it back to the client. The returned message that the returned from DB is in Hexadecimal format, the ...

Chinese text from MySQL

844 byte By stenolaa at 2007-10-1 9:58:50
I have Chinese characters stored in MySQL in the following format:电脑 , should be UTF-8?With the help of PHP I can easily display them on a web page as Chinese characters.However, when I read them from MySQL via the JDBC connector into Java I havedifficulties. When I print them out ...

The case of a missing value of an object...

2803 byte By Kronik_Orpheusa at 2007-10-1 10:11:08
I have set up a put and get method so as to synchronize two of my threads the synchronization works fine but the value of the object myteriously when i trying to again get the value after i have set it disappears. Could someone please help me...Here are some part of my codeprivate Object value; ...

value of the object disappears

2827 byte By Kronik_Orpheusa at 2007-10-1 10:11:40
I have set up a put and get method so as to synchronize two of my threads the synchronization works fine but the value of the object mysteriously, when i trying to get the value after i have set it disappears. Could someone please help me...Here are some part of my codeprivate Object value; ...

Requested: Good Website about Internationalization of HTML in Jsp

1959 byte By _veilchena at 2007-10-1 10:20:11
I have a general question about presenting internationalized text in html in a java environment.I have the following problem: I have western european encoding as standard setting in my Windows. I have to enable eastern european text (also greek letters) to be presented in html. The text shall ...

How I can Map KeyBoard Layout (in Java) to kannada Language

314 byte By dayanandabva at 2007-10-1 10:45:09
hi all,i am able to type in kannada language in java textfiled and i am storing text in mysql db(UTF-8 formate). but the problem is while retriving anddisplying text in a textfiled, it shows ?. please tell me what do with this problem.thanks in advaceddayananda b ...

ResourceBundle ?Japanese

972 byte By vanfleeta at 2007-10-1 10:48:08
I have setup a resource bundle that I would like to use for Japanese (and English). The resource bundle is looking at two files messages.properties (for English) and messages_ja.properties (for Japanese). The English text is displaying in the various Swing components correctly but when I force ...

Locale-specific JSP pages

832 byte By skeweda at 2007-10-1 10:49:09
Hi,I want to provide internationalization in my web tier by providing locale-specific JSP pages rather than using resource bundles for the content inside the JSP page.In other words, I'd like to have a folder structure such that I have a default .jsp file in the root folder and locale-specific ...

superscipt

300 byte By fatcubea at 2007-10-1 10:51:02
Hi,we have an java code when triggered, pulls data from oraclce db to be populated into a text file. the data consists of superscipt e.g. m2 where 2 is supescriptthe superscipt is convert to ? when saved into a text file. may i ask if theres any workaround for ...

UNIX character set problems.

4999 byte By RobertGary1a at 2007-10-1 11:04:43
I don't believe the following problem exists on Windows...I'm using JRE 1.5 on Solaris Japanese (Sparc). The JVM claims its default character set is EUC-JPI'm seeing two strange things when using Japanese character sets...1) If I write a program that doesSystem.out.println("$^%$%^^" ); ...

Internationalizing Money

150 byte By regita at 2007-10-1 11:08:29
What is the best way to Internationalize Money in a java application?Does anyone know of any libraries that exists to take care of this.

how to format number into a Indian Currency

178 byte By jpitha at 2007-10-1 11:18:20
I am using DecimalFormat class to get the numbers in the Indian Currency styleinput1 : 3732342.374output1:37,32,342.37input2: 5,82,343.369output2:5,82,343.37

Problem using Regex with ResourceBundle

664 byte By BuddyCasinoa at 2007-10-1 11:21:20
Hi,i'm using a ResourceBundle to store I18N strings in various languages. Now when I try to use those as patterns in a Regex, it just doesn't match.Here is a sample string:Mode lecture: S閏uris?SANS C2, Flux pr閏is, Cache d閟activ?br>In the ResourceBundle it looks like this, encoded as Unicode ...

What version of UNICODE does JDK1.4.2 support?

79 byte By larryfkma at 2007-10-1 11:24:28
What version of UNICODE does JDK1.4.2 support? Is it UNICODE 3.0 or 3.1?

Unicode directory name not properly created on Unix but ok on Win

633 byte By sunny_austina at 2007-10-1 11:29:49
I am trying to create a directory with UTF-8 chars in its name using the File.mkdirs() call. It works fine on Windows but it doesn't work on any favor of Unix at all. Already set the var LANG=UTF-8 but each UTF-8 char is replaced by a question mark. This works perfectly fine on Windows so I ...

java inernationalization query

99 byte By kanika_kha at 2007-10-1 11:33:24
what is the difference between ucs-2 and utf-16 encodingmysql does not support utf-16

how can i use RTFEditorKit for JTextField.

98 byte By dayanandabva at 2007-10-1 11:34:40
hi all,how can i use RTFEditorKit for JTextField.thanks in advancedaya

Failing to read Polish characters from unicode

617 byte By petercknighta at 2007-10-1 11:37:05
I am experiencing a problem reading Polish characters from a csv file. The file contains comma delimited unicode text and displays the data correctly in notepad. However, (these special characters are not displaying in this forum) the LATIN CAPITAL LETTER L WITH STROKE and LATIN CAPITAL LETTER ...

Problem in displaying Japanese characters on the browser.

918 byte By GoGetter12Jana at 2007-10-1 11:42:03
Hi Friends,Hope one of you could help me in this!!We are using SHIFT_JIS character encoding in our jsps to display Japanese characters. <%@ page contentType="text/html; charset=SHIFT_JIS" %> Is there any other configuration required on server side to let the Japanese characters being ...

zipping folders with subfolder with in

155 byte By ForLoveOfGodHelpMea at 2007-10-1 11:45:39
can anyone provide me the source code for zipping folders with subfolders with in. also if possible the unzipping the same thank yusid

Global Distress

143 byte By Unreleaseda at 2007-10-1 11:53:21
http://www.watertreaty.org/signthepetition.php - Copy & paste, fill the form out. ThanksNickelback - SOMEDAY...

Random Strings from ResourceBundle?

615 byte By eyelessa at 2007-10-1 12:04:37
I'm currently working on an applet that provides the player with feedback in the form of Strings. For each interaction with the UI, a text balloon appears with a feedback message related to his input. To keep things interesting, these Strings are randomly picked from an array of Strings. Since ...

Calendar documentation clarification

304 byte By ljnelsona at 2007-10-1 12:05:47
Hello. The java.util.Calendar class probably behaves correctly, but I can't figure out how it is supposed to behave from reading the documentation.What should the behavior be if you set a negative value on the month field? Currently I see no ...

query-non unicode text

137 byte By kanika_kha at 2007-10-1 12:07:21
in my java program in the user interface i am enterting text in chinese and converting it into unicode but the text is not visible

Reading UTF-16BE from properties file

357 byte By mariuswonga at 2007-10-1 12:07:38
Hi all,I have a properties file with UTF-16BE content (such as the following). May I know how to read the content correctly? The name of file and key are fixed. the result seems always be rubblish or exception occursFile name = content.properties-UTF16BEChar=<Characters in ...

Tracking ResourceBundle instances

1246 byte By svencza at 2007-10-1 12:10:24
Hi all,I am facing the following problem: I am developing an application to help with Java SW localization. In my application I need to track all instances of java.util.ResourceBundle and whenever a String translation is requsted (ResourceBundle.getString() is called) I need to link the key in ...

What happened to UnicodeLittle?

1796 byte By nulltricka at 2007-10-1 12:26:19
I have a piece of code that converts from one character encoding format to another, based upon arguments passed - using FileInputStream and FileOutputStream to read and write files.It used to be that specifying an output encoding of UnicodeLittle would generate a file that contained Unicode ...

Problem with formatting date with JSTL ans swedish locale

487 byte By depaa at 2007-10-1 12:29:14
Hi,I have a strange problem with JSTL fmt:formatDate -tag and swedish locale.-- Extract from the JSP <jsp:useBean id="date" class="java.util.Date" /><fmt:formatDate value="${date}" pattern="dd.MM.yyyy HH:mm" />--With en_US and fi_FI locales date is printed just the way I want: ...

problem with storing kannada text to mysql db

738 byte By dayanandabva at 2007-10-1 12:33:29
hi all,i am storing kannada text to mysql db from JTextFieldwhile retrieving it showing ?.when i type kannada text Directly in mysql db and if i fetch the data from mysql db to jtextfield it showing kannada text. but when i type in jtextfield and store to mysql, while retrieving it showing ...

Greek & unicode

614 byte By flalara at 2007-10-1 12:33:47
I have some greek text that I have tried to convert to ascii with the native2ascii tool, but it isn't displaying the same glyphs as the original at all...Dont know it the problem is that the native2ascii converts to wrong unicode codes or if it is a problem with the font. At least MS Word ...

An Open Source Transliteration based Indic IME Posted

271 byte By JLovera at 2007-10-1 12:33:58
Hi Java developers,I'm Ashish Shukla. I've posted an Transliteration based Indic IME which is Open Source. Check it out: http://www.geocities.com/wah_java_dotnet/nixsime/index.htmlThanx,Ashish Shukla alias Wah Java !!Wah Java !!

date analyzer

397 byte By xamuela at 2007-10-1 12:39:47
Hello. I have documents that contain dates in any possible format. Each document is in a sole language (restricted to european langages). I need to identify those dates to mark them. The problem is that I have no ideas how to get all the existing patterns that identify a date for a specified ...

Right to left enforced text

266 byte By flalara at 2007-10-1 12:43:35
How do I change the text on my lables to be right to left e.g. 'HelloWorld' would be displayed as 'dlroWolleH' (like in Arabic)? Do i have to manually reverse the strings with the StringBuilder.reverse() or is there som other smarter method to use?

Problem with UTF-8 japanese on Win XP

687 byte By renodream13a at 2007-10-1 13:02:19
Hi,I have a Client/server application with a server coded in C++ and runing on HP workstation and the GUI in java runing in a web context via java webstart mechanism on PC machine with win XP sp2 OS.when logging into the HP workstation in japanese SHIFT_JIS and downloading the application ...

chineese

51 byte By joel987a at 2007-10-1 13:04:54
How to change T.chinese to S.chinese? thanks

Database storage of multiple languages for name of a single entity

1748 byte By rphutchinsona at 2007-10-1 13:08:00
Surely I'm not the first person to have this problem, but I can't find many resources on how to solve this. Just some background on what I'm working with, I'm running a web application using the Struts framework with jdk 1.4 on a Weblogic 8.1 server connected to an Oracle 9i database, I'm ...

Localize component captions

580 byte By Ahmed.Saada at 2007-10-1 13:09:42
What is the best (and easiest) known way to localize the GUI of a Java application.I want the caption of the buttons, the menus, the error messages ... etc. to be dependent on the language selected by user. Also I want the orientation of the components to depent on the input language. For ...

regarding properties file

146 byte By dayanandabva at 2007-10-1 13:13:05
hi all,why we need properties file?how can i use our application?what its advantagethanks in advancedaya

problem with retrieving kannada text from properties file

344 byte By dayanandabva at 2007-10-1 13:19:04
hi all,i have file called "hivos_kn_KR.properties" which contains kannada textName=ಹೆಸರುAge=ವಯಸುwhen i am reading, it will display squre boxes on java jframe what was the problemplease help to this problemthanks and ...

java does not recognize my regional settings in xp

326 byte By lacou0a at 2007-10-1 13:29:19
Hi,I have set my windows xp Regional Settings for canada/french but I also have resetted the decimal point to a dot ('.') instead of the defaulted comma (,). My JVM does not seem to recognize these changes as it still shows my decimals with a comma.Is there any way to change that behavior ...

Simple question about disabling Swing default Locale

440 byte By ianwarka at 2007-10-1 13:32:45
Hi.I am trying to disable the Japanese messages that appear in JDialogs. I am using a Japanese version of WinXP.How do I do this? It would be good to do it programmatically and be totally platform and locale independent. I am trying to set messages to English.I tryed resetting the default ...

Suggestions for sensible UI for Timezone selection?

999 byte By shankar.unnia at 2007-10-1 13:36:05
The ever-present problem of how to prompt sensibly for a timezone preference in a UI (Swing or even browser GUIs).The key is to keep it from being overwhelming and unusable - it has to be easy to select the most commonly used timezones, while at the same time making it possible to select ...

Persian Font for Application

386 byte By Tantan1983a at 2007-10-1 13:58:37
Hello Sir,We are a group and we work on a project for make an application for calculating an experssion and this application is Web-enable but we have to make some languages like Persian(Farsi). Now, we can not solve this problem. If somebody can help us please send me an ...

Interface Translation

674 byte By Tantan1983a at 2007-10-1 13:59:40
Dear Sir,My meanig about Calculating Experssion is about the project. I tell you more that you can understand my situation. We are making a web-enable application and this application should support some languages. There are Chinese, Dutch, Persian, etc languages. For example when the user ...

How can I define "java.util.ResourceBundle" in my Code ?

392 byte By Tantan1983a at 2007-10-1 13:59:49
Dear Mr. MLRon,Thanks to you for your replying to me. How can I define "java.util.ResourceBundle" in my Code ? To more understanding about my problem I can say that the Persian Font is Like as Arabic, but the Java can not Recognize it. please tell me how can I add "java.util.ResourceBundle" to ...

For what it works

1412 byte By patil.praveensa at 2007-10-1 14:01:48
for what this line is being used?String RecordType = StringUtils.trimToNull(op.getValue("r"));sample code ispublic void init() throws ConsoleException {/** * Get Instance of OptionProcessor */OptionProcessor op = getOptionProcessor();/** * Get Report Id Type */String RecordType = ...

String to Lomg conversion

349 byte By pvrawala at 2007-10-1 14:03:17
I have a string that starts with 0(zero). i want to convert this to a long primitive value. My problem is that when I convert it to long value, the zero is missing at the beginning. The number starts with the second digit. Is there any way I can get the long value with zero as the prefix? I ...

determine different encoding and convert to permanent encoding

429 byte By naor_ya at 2007-10-1 14:06:33
I have a question that bothers me a lot.I am using a servlet in order to read mail from different hosts. each host returns his message by different encoding. how can I manage to read the message correct?I need the servlet to return a string that represent the message in unicode. how do I do ...

Internationalization issue

426 byte By Balachandrua at 2007-10-1 14:07:34
Hi all,I have an application. The application when run in linux does not display the german characters properly, but when the same application is run on windows i could get the german characters displayed properly. Kindly help me what could be the possible reasons. I think this is the problem ...

Charset problem

267 byte By CarlosEduardo@Brazila at 2007-10-1 14:10:30
I have a problem with charset, when i convert a string in lowercase "ca玢o" to utf-8 , thats ok, but when this same string is in uppercase, the chars "们", are not converted, missing.de java vm charset is Cp1252Where is the problem?Thks All!