Arabic on JDK1.1.4 using AWT

455 byte By nm_bobadea at 2007-9-27 6:09:24
Dear All,I am working on project for Netpad (Symbions OS). Netpad is Hand Held Device (www.psion.com). Netpad has JVM 1.1.4 implemented in it & support AWT.I have to Develop GUI application that support Arabic display. Right now i dont want full functionality but want to display messages , ...

Unicode character doesn't display integral symbol

325 byte By vpakshaa at 2007-9-27 6:21:19
I tried using unicode character 222B in my program to get the integral symbol.It works well in jdk1.2, but if i try to run the same program in jdk1.3 , it's returning delta symbol.What is the possible solution, such that i get the integral symbol in jdk1.3 as well as both?submitted ...

Can't display Chinese Characters in JTree

375 byte By 24aa at 2007-9-27 6:37:14
The default encoding has beed set to GB2312 by system. (I use eWin98&Richwin system)I can display Chinese in JEditorPane, can output Chinese using System.out.println, can read Chinese from files. BUT, I can not display Chinese in JTree, they all appear as squares.Is there any one can help ...

Encoding in UTF-8

789 byte By fkkonga at 2007-9-27 6:38:41
All,I'm new to the i18n and have several problems. 1. If the SERVER system locale is English[United State], the text in JSP can be displayed properly in the client machine. However, if the system locale is Chinese[Taiwan], the text in JSP is displayed as "?". JSP content type is UTF-8. Why the ...

Collator and Turkish (probably a bug)

1980 byte By safira at 2007-9-27 6:52:23
Hi,Turkish has 2 unique letters pairs:'\u0130' & 'i' ('&#304' & 'i') which correspond to English 'I', & 'i'& 'I', & '\u0130' ('I' & 'ı') which don't exist as letters in English and represent back-vowel pairs of English 'I', & 'i'.If ...

resource bundle

311 byte By Mhmha at 2007-9-27 6:54:59
Hello,I have used resourec bundle for translate GUI into Arabic Language,but the translated strings have separated characters,for example, i wrote in property file the following key/value pair: fileLabel=?but the fileLabel appears on the GUI ? ? ? what is the problem?thanks. ...

Running City Input Method on Mac OS X

305 byte By NguyenQa at 2007-9-27 7:17:05
Has anyone tried to run the City IM example ( http://java.sun.com/j2se/1.4/docs/guide/imf/spi-tutorial.html) on OS X? How would one bring up the "Select Input Method" menu, like that on Windows or Solaris? Can anyone tell me something about Java's Input Method Framework support in MacOS X? ...

JFileChooser setFont for Title - possible?

280 byte By Anu_Radhaa at 2007-9-27 7:18:47
searched the forum.seems to be impossible.ORhow to set the M$ Window's message box title font using java?I tried:Toolkit.getDefaultToolkit().setDesktopProperty("win.menu.font",java.awt.Font);but it has protected access! anu

Unsupported locale / language (Khmer)

309 byte By vibola at 2007-9-27 7:26:16
The most recent JDK 1.4 doesn't support a language which I intend to use in developing some applications. The language is 'Khmer' (Cambodian). Khmer is included in Unicode since version 3.0.What is required to include this language in Java? Are there resources on how to begin such a ...

What is java's answer to NCHAR / VARCHAR2?

2643 byte By pratimdasa at 2007-9-27 8:11:32
I have a Oracle8i database (with UTF-8 as its National Language), and using 8i classes12.zip as the OCI8 JDBC Driver. I got a table called UNICODE_ENTRY, with 2 columns UNICODE_TEXT(NVARCHAR(255)) and ENCODING(VARCHAR2(128)). I'm trying to enter a chinese String encoded in UTF-8 into the ...

question on lang

261 byte By prog12a at 2007-9-27 8:31:51
We just picked up a new client in Russia, is there a tutorial anywhere on getting our software to display in Russian instead of English. Did a little poking around in Resource Bundle tutorial, but don't know if that's the answer.ThanksJim

How to find out the locale setting in a browser?

366 byte By vwuvancouvera at 2007-9-27 8:32:12
In my Java web project, the multi-lingual issue on the JSP pages is handled by JSTL. It works fine so far for any input messages. However, some messages come from the container. It is needed to find out the browser's country and language settings inside of the container. My question is how to ...

Parsing any currency code wagainst the appropriate number of decimal places

397 byte By csuifa at 2007-9-27 8:35:57
Does anyone know how to write a single DecimalFormat pattern which will correctly parse an ISO currency code with the appropriate decimal places.eg:GBP123 should PASSGBP123.45 should PASSGBP123.456 should FAILJPY123 should PASSJPY123.4 should FAILSAR123 should PASSSAR123.456 should ...

JTextPane vetical row gap

379 byte By shirrya at 2007-9-27 8:51:25
Hallo,I use arabic fonts that has bigger then average glyph size. Using JTextPane the the characters are not properly displayed. The lower part of each character is missing, but by jumping to new line they appear again. Is there any way to increase the distance between each row or something ...

OK last hurdle on this project

184 byte By prog12a at 2007-9-27 8:53:24
I have JTextAreas which will take Russain characters for input, only problem is when I save all I get is ? any place I can read up on saving Cyrillic charactersJim

Does Java Support Unicode 3.1(Upper)?

407 byte By kslua at 2007-9-27 9:01:05
Hi all: We know "char" in Java is only 2 bytes long, it means that at most 65536 chars can be included. j2sdk 1.4 supports unicode ver 3.0, and 3.0 contains less than 65536 chars, so it works. But the unicode ver 3.1(and upper) contains exceed 60000 chars... so... can Java support unicode ...

Problem of JSP internationalization

873 byte By xiaoypinga at 2007-9-27 9:06:00
Hi,I am using tomcat3.x as web server and try to display multibyte characters in JSP page.I tried the following two methods:1. at the begiinging of the jsp file I added :<%response.setContentType="charset=xxx"%>2. added <meta charset="xxx"> into JSP fileThe first method can display ...

Problem with request.setCharacterEncoding

376 byte By mubariza at 2007-9-27 9:16:45
HiI am using httpservletrequest.setCharacterEncoding("UTF-8");String data = httpservletrequest.getParameter("myData");but I am getting the values of data as ?, if I pass japanese vales. I have also tried using Shift_JIS in place of UTF-8, but I get the same result.What could be the reason for ...

my program cant find the locale-specific resourcebundle in the programs jar

1248 byte By javaJuwa at 2007-9-27 9:24:17
hi!i got a serious problem loading my resourcebundles from a jar file.it seems to be a often-talked-about problem in this forum but i didnt find an answer yet.please help me with this stuff:i made two resourcebundles for testing purposes in the following directory ...

Understanding Unicode

1569 byte By albilgina at 2007-9-27 9:25:45
Hi, i read tutorials about Unicode, UTF-8, UTF-16 and UTF-32 but there are still some questions in my mind. Q : what is UTF ?A : a transformation that maps each Unicode code POINTS on to a unique sequence of code UNITS.Ok, UTF is related with memory , am i right ? UTF-8 and UTF-16 are more ...

Cann't display simplified Chinese in JDK1.4?

321 byte By schnell18a at 2007-9-27 9:30:44
Hi, guys My application can display simplified Chinese correctly under JDK1.3,but when I swith to JDK1.4 only English content can be displayed. All simplified Chinese characters are displayed as little square. Why?How can make it normal again?Thank you in ...

How to convert a chinese character to html encoding #&xxxxx;

616 byte By christieonga at 2007-9-27 9:34:50
Hi: I have a jsp that has charset="Big5" and an input box where the user can input chinese text. How can I convert the input text to html encoding #&xxxxx;For example I want to convert 徫 to 笑 I know if I change the encoding of the page to Western European (Window) then it does it ...

Problems with Internationalisation

1124 byte By saumitra_joshia at 2007-9-27 9:44:49
Hi All,We have built an enterprise class, web based, J2EE application built on Orion Application Server, Apache Struts and Oracle (no surprises here :) ) database. The application is internationalised to cater to various European languages and the internationalisation is achieved through ...

recommendations for database design

1128 byte By edwardbridgesa at 2007-9-27 9:51:04
we're in the early stages of designing a database to be accessed via J2EE that will need to store text in Chinese and in English.you could think of the data as basically a contact database . . . names, addresses, and descriptions. the descriptions need to be stored in both english and chinese. ...

Problem Inserting Euro Symbol and few others

431 byte By saheli3a at 2007-9-27 9:58:50
We are using java application with oracle 8.1.6 as the db with the charset as WE8ISO8859P15. ALl the forms are using multipart request. We cannot do away without that. When trying to insert euro symbol and few other western european characters, they get converted to something else before ...

InputMethodWindow / linux focus managment

985 byte By badepr1a at 2007-9-27 10:03:26
I created an InputMethod which uses context.createInputMethodWindow("my input method")to create a window that holds a virtual keyboard. On windows2000, everything work great.When the user types a key on the virtual keyboard, the keyboard does not get the focus(which is what I expect) and so I ...

Displaying Japaneese character in SaveAs Dialog box

1947 byte By yc17a at 2007-9-27 10:08:20
Hi, I have a problem with displaying japanese file name in 'save as' dialog box. I have a page that lets user to download a file. On downloading a file , the 'save as' dialog box opens up with the file name. The file name is passed to the dialog box by setting the content-disposition as ...

UCS2 Conversion

109 byte By srrajn3a at 2007-9-27 10:20:31
Hi guys!Need to convert String / Ascii to UCS2 format.....for sending SMS in Korean.. Pl.Help!!

font.properties file

205 byte By chekksa at 2007-9-27 10:24:27
Hi,Can any body explain me on this. Does the modification in the font.properties file for adding font will only affect AWT components and not for Swing Components ?ThanksChekks.

sending Japanese chars over a stream

460 byte By joebyrnea at 2007-9-27 10:26:50
I have an app connecting to another machine which calls a dll using jni, this works fine when sending english but when i send Japanese or any multi byte characterset my data gets messed up. Any ideas on what is the proper way to send unicode strings / bytes over a stream and reconstruct them ...

German in a text field

330 byte By magicVa at 2007-9-27 10:33:44
This is my problem...I have a JTextField which needs to take in German characters at this point of time but later it will be expanded to take all other languages. How can I go about doing this? Should I use Input methods provided by Java and if yes how can I implemet this? Any sample code will ...

Keyboard mapping

147 byte By magicVa at 2007-9-27 10:44:17
Can I type in german characters into a text box without mapping my keyboard to support german characters? Can this be done programmatically?

Problem in Display GB Chinese in Linux

2563 byte By wuyaukina at 2007-9-27 10:45:24
Hi,I want to know how to set up the font.properties in order to display GB Chinese on Linux.Linux system: RedHatSystem.getProperty("user.language") -> enSystem.getProperty("user.region") -> USSystem.getProperty("file.encoding") -> ISO-8859-1I use linux commandxlsfonts | grep gb to list ...

Some design considerations

730 byte By magicVa at 2007-9-27 10:50:40
I want to know the best way to go about the following...Client needs to enter german and later on all other languages in a JTextArea. I will be using Input methods since my app will need to support CJK later on. Since I will be using Input methods, is it possible to write generic input methods ...

difference between en_US, ja, UTF8

868 byte By yghua at 2007-9-27 11:10:37
Here is the description of the puzzle. I have a J2EE application. If I set server locale as ja, input Japanese characters are corrupted when it is displayed back after hitting a submit button on the page. But If the server locale is en_US, the Japanese characters are preserved. What bothers me ...

My JSP returns ? instead of Arabic

1169 byte By avin25a at 2007-9-27 11:12:18
hi friends,Well I am working on a multilingual website.My web page will support both english and arabic language.Here is my JSP source Code:<%@page contentType="text/html;charset=iso-8859-6" import="java.sql.*, java.util.*,java.lang.*,java.io.*,LocaleBean" %><jsp:useBean ...

Applet problem (cannot display Japanese ideograms)

796 byte By valicaa at 2007-9-27 11:20:05
Hello!I need some help about an applet problem. I will describe what's happen:I need to display Japanese ideograms using an English OS and Internet Explorer 5.5 SP1. I must use MS VM and not Java Plug-in. With both of them, if I am on a Japanese OS, everything works fine. If I am using Java ...

On The Fly Internationalization

601 byte By vikinsaa at 2007-9-27 11:26:46
Hi!,I want some information on how the "on the fly internationalization" is possible. I have some servlet generated pages and I want them to display in 3-4 more international languages like French, Spanish etc. The problem is the usual technique of using resource bundles can not be used in my ...

How can I display KANJI characters in my JTextArea?

210 byte By umanica at 2007-9-27 11:30:11
Hi folks,I have a JTextArea where I can display HIRAGANA.I switch to KANJI but coming back to my Java app I cannot input KANJI but still HIRAGANA.Any help?ThanksClaudia

I need sample java applet code displaying arabic words in text area

731 byte By karbabua at 2007-9-27 11:33:55
Hi friends,I have one problem in displaying arabic words in text area of java applet. It is displaying each and every letters with space which should not be the case for arabic. All should be linked like threads. So i need a solution source code to display the arabic words displaying like ...

Rendering Indic scripts

572 byte By yeskaranyesa at 2007-9-27 11:45:26
Hi All, I am writing an application which requires rendering of Indic scripts. As of now Java 1.4 supports only Hindi. So is there any way through which I can render other Indian languages (mainly Tamil). I am even ready to implement a rendering and shaping engine for Tamil. In this case, how ...

multilanguage support for awt components..

750 byte By sojanmathewa at 2007-9-27 11:52:45
hi all,when i tried to use .setFont() method for awt componets like labels and buttons it is displayed as rectangles insted of showing the appropriate characters. actually i tried to set the font to "simsun" (unicode font for chinese). but it works fine for swing components.how can we achieve ...

Aargh!Code Page 850

571 byte By stevecoha at 2007-9-27 11:57:41
I've just spent the past few hours crazily hacking and plowing through all sorts of documentation (some of which is out of date) and none of which tells me how to solve the seemingly simple problem I need to solve.Here's the deal. I have to process a whole bunch of stuff coming in which is ...

Can not display traditional Chinese fonts in Swing using JDK1.4, RedHat7.3

382 byte By sean826a at 2007-9-27 11:59:29
Hi, I have tried to add a font.properties.zh_TWin <jre>/lib, but didn't work.I've tried Arphic ttf fonts and Taipei fonts inthe default RedHat 7.3 packages.And when I start a Swing applications, it will showerror messages:Warning: Cannot convert string ...

Create HTML file that can display unicode (japanese) characters

2223 byte By srikanth_s_indiaa at 2007-9-27 12:18:05
Hi,Product: Java Web ApplicationOperating system:Windows NT/2000 server, Linux, FreeBSDWeb Server:IIS, Apache etcApplication server:Tomcat 3.2.4, JRun, WebLogic etcDatabase server:MySQL 3.23.49, MS-SQL, Oracle etcJava Architecture:JSP (presentation) + Java Bean (Business logic)Language:English, ...

How do you set system font to display Simplified Chinese characters?

424 byte By jshlingusa at 2007-9-27 12:21:50
Does anybody know how you can detect the system font, check if it can display simplified Chinese characters, and then change it to a font that can display them if it can't?I need my application to be able to display simplified Chinese even if the default system font is not capable of doing it. ...

Problem with chinese fonts in 1.4

422 byte By amitforjavaa at 2007-9-27 12:22:21
Hi All,I have an application which I wasnted to run with Chinese fonts. Hence, I had modified the font.properties file. When I make use of this font.properties in JDK 1.2, I see the chinese fonts. But, when I make use of the same font.properties file in JDK 1.4, I get little squares. Could ...

Unicode String in JFrame's Title Bar / why is java a non-Unicode pgm in XP?

393 byte By noelkeea at 2007-9-27 12:36:16
My big question:Why is Java detected as a non-Unicode program by Windows XP?I need to do the following before I can write Japanese characters on the JFrame's title bar on Window XP:From the Control Panel -> Regional Settings and Languages -> Set the Language for non-Unicode Program to ...

native2ascii conversion

215 byte By riteshmenona at 2007-9-27 12:36:38
I have a simple text file in English on which i run this utility.however the resulting file also shows the same output i.e. in english.how do i go abt this or am i missing anything?thanx.

Input methods with non-java interface?

274 byte By magicVa at 2007-9-27 12:39:23
Here's the problem,I have a C++ GUI which has 2 text fields. I need to be able to trap foreign characters in these text fields without touching any of the c++ code. That is, I need to use Java Input methods to do this. Any leads as to how to accomplish this?