Fonts for I18N - pre-installed?

594 byte By kulacrosse at 2007-9-26 10:07:57
Still in the beginning stages of this I18N project. Documentation on Sun's site and elsewhere seams to dance around whether or not appropriate fonts are installed with localized versions of the JRE. If so, do these fonts include Latin characters (in case something is not localized and defaults ...

Does JDBC map any of the Strings into different charset?

618 byte By insepov at 2007-9-26 10:08:23
Right now I'm posting some stuff from the CD and then catch it in the JSP using the JISAutoDetect as my encoding type. After this, I convert the byte array into UTF8 and put it into UTF8 Oracle db. The problem is that this doesn't work. I can't see anything. All the data is garbage, but if I ...

Help me reg. encoding please...

1031 byte By susarla at 2007-9-26 10:11:26
Hi,Iam new to this Unicoding concept. I want to store Hindi characters in oracle database and retrieve the same to the web browser.Iam using JSP technology.(Tomcat server 3.2.1)The database is Oracle 8i., and jdk1.4 (beta)I would like to know if Hindi language is supported by java. I have a ...

encoding

121 byte By far34h at 2007-9-26 10:13:21
I am trying to encode n decode to n from chinese charactersets for an asia application. Anybody with ideas?

How to process special unicode character

278 byte By kingfist at 2007-9-26 10:14:11
I just want to know how to process special entitysuch as &auml,&uuml,&yuml,etc.I use System.out.println() to print these characters, but I can see nothing.I write this characters into text file,but there are question mark instead.

A Question about Java supported encodings

491 byte By shadow0_0 at 2007-9-26 10:15:35
According to this page, http://java.sun.com/j2se/1.3/docs/guide/intl/encoding.doc.htmlJava supports a variety of encoding methods. However, there is no information as to which version of a particular encoding method is supported. For example, I know that Unicode 2.0 is supported in JDK1.3 and ...

Can't see any advantage of Unicode

539 byte By sjafery at 2007-9-26 10:21:05
Hi,I am really wondering about advantages of 16 bit Unicode characteristics which is one of best feature of java language. e.g., I can't display '\u0628' an arabic letter without using the font which support arabic characters.So There is no advantage of Unicode in my views. Can any one ...

Can't see any advantage of Unicode

534 byte By sjafery at 2007-9-26 10:21:07
Hi,I am really wondering about advantages of 16 bit Unicode characters which is one of best feature of java language. e.g., I can't display '\u0628' an arabic letter without using the font which support arabic characters.So There is no advantage of Unicode in my views. Can any one explain ...

Problem with Japanese Chat...

2068 byte By spruceguy at 2007-9-26 10:24:59
Hi JAVA-ians,I'm currently doing a project in Java.Its a chat application. I want to Localize this to Japanese.To be correct , this chat application should allow one user to type in Japanese characters(probably in a Japanese OS) and receive Japanese characters on the other end. I'm using ...

creating an encoded string

218 byte By philipsan at 2007-9-26 10:25:42
I have a file encoded CP852 and I want to change the encoding to win1250. The following syntax doesnot worknew String(line.nextToken().trim().getBytes"Cp852"),"WINDOWS-1250")Anu ideas

default encoding

174 byte By imrananw at 2007-9-26 10:25:54
Hello all,Its an emergency. I have to get the default encoding of teh system I am working on in a matter of minutes. Anybody with any ideas?/imran

font.properties file issues

625 byte By kulacrosse at 2007-9-26 10:32:39
I have been trying to alter my font.properties file so that I can use logical font names to display CJK characters with Arial Unicode MS (this font is installed on my system and works if I specify it as a physical font). I added the following line for each logical type:logicaltype.style.4=Arial ...

Searching Dates all in different timezones

1206 byte By eekreiser at 2007-9-26 10:42:44
My question is, I have users entering dates in an HTML form and using JAVA servlets I save them to an oracle database. Also as part of entering the date, they select a timezone for that date. Timezone is stored separately in the database since oracle really doesn't handle timezones in 8i. What ...

Not able to store 'unicode' in Orace db from my JSP

948 byte By userid74 at 2007-9-26 10:52:51
Hi,I enter Chinese, in my JSP, the string is going to be write in Oracle db like this:--String name = request.getParameter("name");byte by[] = name.getBytes(System.getProperty("file.encoding"));String name2 = new String(by,"UTF8");now, 'name2' will be written into database.why the value of ...

What info do you want about Java i18n?

344 byte By joconner at 2007-9-26 10:56:12
Although this forum is an excellent resource for quick answers, it isn't always possible for participants to provide detailed solutions. Are there areas of Java i18n that you'd like to read more about, perhaps via a more lengthy technical article on the JDC? What are your ...

Get Unicode values.....

192 byte By sinlanyeo at 2007-9-26 11:01:47
Hi,I need to get the unicode value of '?' where this character is a chinese charcter, ' '.And the hexaldecimal value of this character is 4ED6.Thank you.

J2EE i18n application: Have to i bother about font ?

366 byte By userid74 at 2007-9-26 11:03:14
Hi,My enterprise application contains JSP,JavaScript, Servlet, and EJB, there is no AWT or Swing componets.It is i18n in English, Chinese, and Malay.Have to i bother about font ?Have to i install 'Arial Unicode MS' font ?In Which situation, i may across font problems ?Thanks in ...

multilingual website

392 byte By bobalm at 2007-9-26 11:06:15
Hi, We have a website that uses a simple "language menu" that allows the user to select a language which will then load a new page in that language. My question is, can the server automatically send out a page in the language set in the user's browser preferences. I hope this is appropriate ...

How to convert unicode to SJIS charset?

491 byte By jaime7478 at 2007-9-26 11:08:51
I have unicode Strings, correponding to the Japanese language, and I want to display them in SJIS charset, through an JSP. I know that using the OutputStreamReader with the FileOutputStream I can get What I want in a file. But I want to have this in memory, in a string, but not in a file.I have ...

I am not able to give alert message in Chinese from my JSP...

641 byte By userid74 at 2007-9-26 11:10:51
Hi,I am not able to give alert message in Chinese from my JSP, for example...the following code will displays '?' in my IE5, where as in Netscape6.1 displays one chinese character.<%@ page contentType="text/html; charset=UTF-8" %><html><head><script ...

request.getParameter() not returning the expected UTF8 String.

2021 byte By yashs at 2007-9-26 11:17:25
Hi, I am trying to write a simple jsp page which displays some UTF-8 characters in a web browser. After this the user can post the same data to the server. When I get ther request back, the request.getParameter() does not return me the correct data. What could be the reason? Here is the code I ...

Creating your own Locale

718 byte By djarnis at 2007-9-26 11:21:19
I know the topic has been discusses before, but i never gor a real good answer.I'm building an application where i (amongst other) need support for the Greenlandic language (stuff like dateformats and currencyformats). the iso locale is kl_GL i have been looking in the sources and there is ...

Setting input keys

499 byte By papunjabi at 2007-9-26 11:22:24
I'm developing a program that accepts input in Japanese from the user. I'm using a US version of Win XP with a Japanese Input Method Editor and Japanese locale. Now to enter Japanese from an English keyboard, I have to press <alt> + "~" each time, to be able to type in Japanese instead ...

Internationalization with Oracle Database

647 byte By vishal_maheshwari at 2007-9-26 11:24:57
Hi folks!I am new to internationalization. We have an application wherein the input of the data can be in 3 languages - english, haitian creole and spanish.There is going to be 1 central authority of the entire system which would like to retrieve and study whole data in English only.How can we ...

escape characters and CVS

522 byte By Chemunga at 2007-9-26 11:25:31
Hello,I really dont know how this is possible. But it seems there is some sort of hidden character in some of my source files. CVS has the following comment when I try to add the file :Warning : 'CommonUtil.java' has some escape characters in it (0x00-0x20, 0x80-0xFF), you should correct it ...

How to rebuild a Character from Unicode value.

212 byte By javaSan at 2007-9-26 11:28:14
Using the getNumericValue() method from the Character class you obtain a Unicode numeric value as an int.(according to the JavaDoc).How can I rebuild a Charater from that value?

Display UTF8 using JSP

636 byte By alvita at 2007-9-26 11:31:13
Hi experts,i am doing a project for testing which take input from the web by using JSP and store the result to Oracle DB(charset UTF8). I have input data throught SQL*PLUS, then try to use JSP to retrieve Chinese character but error message "Fail to convert between UTF8 and UCS2: failUTF8Conv" ...

Locale effect on BreakIterator class

382 byte By oodiP at 2007-9-26 11:34:40
I am trying to understand the effect of Locale on the BreakIterator class when looking for character boundaries. The BreakIterator class has been able to successfully interpret combining sequences in Hebrew and Arabic even when the locale is set to English. So are there any character boundaries ...

fonts that cover the whole arabic range

356 byte By shirry at 2007-9-26 11:36:46
Can someone please tell me where i can download free fonts that cover the whole arabic range (0600-06FF)including arabic presentation form A and B.I have already "Titus Cyberbit Basic" but it does not render some of the pashto language characters properly.Thats why i am searching for other ...

Writing unicodes into the file....

1252 byte By sinlanyeo at 2007-9-26 11:42:38
Hi,I have a module that changed a hex string to unicode representation:public String txfmHex2UnicodeString (String sText){String sOUT = "";Vector hText = text.getGroup (sText, 2, "");for (int i=0; i<hText.size (); i++) {String sChar = (String)hText.get (i);byte bChar = (byte) ...

Display of International Fonts in my Labels.

405 byte By jsugrue at 2007-9-26 11:45:10
I am writing an application, which has been internationalized.However, at one stage, you type text into a textfield and that gets outputted onto a label. This works fine for the usual english fonts, but when I use special characters it won't work (eg e grave, or acute). I just shows rectangles ...

How to enter accented text in a JTextField ?

519 byte By brcard at 2007-9-26 11:47:01
Hi,I have developed a Swing application using JDK 1.2.2 008 for Windows. This application works fine on Win 95 and 98, but when I use it on Windows 2000, using the same JDK version, I am not able to enter accented text inside my JTextFields. (it accepts only english characters as input)Why does ...

Euro symbol and Internet Explorer

584 byte By mariodellatoffola at 2007-9-26 11:47:15
Hi,I'm trying to display in a HTML page a Euro value using an Italian Locale. The output is always a question mark followed by the correct Euro value (i.e. ? 513,45).My client browser is IExplorer 5.5 sp2. JSP server is TOMCAT latest release. Web services are under IIS (NT 4.0)I'm using the ...

UTF-7

123 byte By samee12 at 2007-9-26 11:47:38
I am trying to do some character set conversion from IS) 8859 to UTF-7. But it doesnt seem to work. Any ides.

Inserting Japanese (UTF8) String into Oracle UTF8 DB

1167 byte By insepov at 2007-9-26 11:49:27
I'm trying to insert a Japanese String into UTF8 Oracle db, but I'm getting some junk on the output. My database is in UTF8 and NLS_LANG is set to AMERICA_AMERICAN.UTF8 In my JSP, I receive a post in JISAutoDetect and convert it into UTF8 using getBytes() and new String() methods (ex: String ...

Help... How to convert an hex string to unicodes....

223 byte By sinlanyeo at 2007-9-26 11:49:49
Hi,I have an input which is in hexadecimal eg. 4ED66211....I need to write this into a file as an unicode. Is there any way for me to write into a file and is able to veiw the unicode characters?

Invalid Page fault in IMM32.dll on Japanese Win 98

945 byte By gobho at 2007-9-26 12:01:22
HiFirst of all, let me say that I'm new to internationalization fundamentals.My Java application uses i18n.jar for internationalization support(primarily Japanese) and everything seems to be fine on all OSes(Win2k,NT,98,Solaris etc), except that in particular menu options in Japanese version ...

How to know if a POST is in JIS or SJIS?

278 byte By insepov at 2007-9-26 12:05:29
I was wondering how to know if a POST String, that I retrieve through getParameter(), is encoded in JIS or SJIS (or anything else). I've been using JISAutoDetect, but I couldn't find (anywhere on this site) if that's what I actually needed to use.

How to convert UTF8 to Shift Jis

193 byte By gulshan at 2007-9-26 12:12:30
This is a challange. somebody told me its not possible. I need your comments/ideas on this one. Any sample code will be of great help as i can prove it.ThanksGulshan

I am not able to give javascript alert messages in Chinese in IE5

782 byte By userid74 at 2007-9-26 12:15:10
I have been stuck up with the this problem.I am not able to give javascript alert messages in Simplified Chinese inIE5, where as in Netscape 6.1 it is good.I have chinese fonts(MS Song,MS Hei) in my system. Is it needed tochange font.properties file in JDK, if yes, what are thechanges needed in ...

internationalization problem

491 byte By mansingh1 at 2007-9-26 12:20:07
my application is a multilingual application. it takes in data from the user (different languages) and store it to an Oracle 8i db formatted in UTF-8. entering and retreiving data is not aproblem but when i query my db to check the contents after storing it shows junk values. for eg a user ...

Display HKSCS Problem, Urgent Help!!!!!!!!!!!!!!!!!!!!

2511 byte By alvita at 2007-9-26 12:40:44
Hi experts, My problem is cannot display HKSCS using JSP. The env. setting as follow: Server: Win NT 4.0 w/SP6 Web: IIS 4.0, JRun 3.0 DB: Oracle 8.1.7 w/ NLS_LANG=AMERICAN_AMERICA.UTF8 Source code: <%contentType="text/html; Charset=UTF-8"%> <HTML> <HEAD><TITLE>Retrieve ...

Problem with swing tree using Japanese

728 byte By catfink at 2007-9-26 12:43:31
Hi,I have a problem displaying a swing tree node name in Japanese. The problem only occurs on Netscape browsers. When I run the same applet with Internet Explorer, all the Japanese displays correctly. Now, with Netscape, the node name is displayed in little rectangle characters but the tooltip ...

JILtoolkit

794 byte By heffer at 2007-9-26 12:49:00
Does anyone know if there's a way to take a project with an expansive directory structure underneath it or simply a path and whatever subdirectories it has and add that as the source for a a new project in the JILtoolkit interface? Adding single java source files to a project is just ...

A problem with Arabic Characters

1649 byte By wtwdcb at 2007-9-26 12:58:53
Hi all...I've a problem and if u please help me.My system configuration is : Windows 2000 ProfessionalAllaire Jrun 3Sun JDK 1.3.1Microsoft Access 2000 this is my code: <%@page contentType="text/html; charset=Cp1256" language="java" import="java.sql.*"%><%Driver driverUser = ...

How to find Font Support

362 byte By suresh_nsr at 2007-9-26 12:59:52
Hi, I want to check whether the fonts available in the system will support the particular language (say like Chinese, Japanese etc). How do I do this dynamically. I have checked using Font.canDisplay(), it returns true but no luck(Messages displayed are boxes). Can anyone help me please. Its ...

Help in Internationalization .....

409 byte By suresh_nsr at 2007-9-26 12:59:55
Hi, Can any one tell me the scope of Internationalization. If I want to give support for Internationalization, what are the points I should consider for support(Generally). For Instance like, when u change the Language then all the information(like Date, numbers etc) has to be changed for that ...

Problem with implementing Internationalization in JSP

2119 byte By mbjiang at 2007-9-26 13:17:14
I have created a LocalStrings.properties file and a Login.JSP. Inside the JSP I have code that states the following:ResourceBundle rb = ResourceBundle.getBundle("LocalStrings", new Locale("en",""));The LocalStrings.properties file is in the same directory as the JSP file. What needs to be ...

request.getParameter() values in servlet? Urgent

429 byte By jgovindaraman at 2007-9-26 13:38:44
String str=request.getParameter(); I am facing a problem when i submit the arabic values from hidden form fields using javascript.In servlet when i tries to retrive the arabic values stored in the session, it displays only garbage values(ie. ?).How to solve this problem?Please clarify and if ...

I18N - using properties-files or class-files ?

377 byte By raj4java at 2007-9-26 13:39:14
Hi all ,I am new to I18N .After going thru many old-queries/replies here ,I am bit confused at first level itself, as what is the best approach : use of properties-files or having class-files for each Locale ?what are the limitations/advantages for each case ?Please someone through some light ...