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 ...
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 ...
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; ...
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; ...
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 ...
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 ...
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 ...
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 ...
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 ...
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("$^%$%^^" ); ...
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.
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
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? Is it UNICODE 3.0 or 3.1?
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 ...
what is the difference between ucs-2 and utf-16 encodingmysql does not support utf-16
hi all,how can i use RTFEditorKit for JTextField.thanks in advancedaya
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 ...
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 ...
can anyone provide me the source code for zipping folders with subfolders with in. also if possible the unzipping the same thank yusid
http://www.watertreaty.org/signthepetition.php - Copy & paste, fill the form out. ThanksNickelback - SOMEDAY...
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 ...
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 ...
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
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 ...
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 ...
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 ...
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: ...
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 ...
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 ...
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 !!
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 ...
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?
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 ...
51 byte By
joel987a at 2007-10-1 13:04:54
How to change T.chinese to S.chinese? thanks
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 ...
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 ...
hi all,why we need properties file?how can i use our application?what its advantagethanks in advancedaya
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 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 = ...
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 ...
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 ...
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 ...
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!