The Artima Developer Community
Sponsored Link

Java Answers Forum
a problem working with foreign languages

1 reply on 1 page. Most recent reply: Jun 10, 2002 9:06 PM by Azrul Azhar

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
nir

Posts: 2
Nickname: pythone
Registered: Jun, 2002

a problem working with foreign languages Posted: Jun 9, 2002 6:23 AM
Reply to this message Reply
Advertisement
Hello, I have a problem using foreign languages in my application.
I wrote an application that receives input from the user (it's a broweser interface).
the input may be of any language that the user's computer supports.
I am send the input to a servlet to be processed.
The input gets to the servlet in a unicode form:
%u1500;%u1501;
an so forth... I would like to take this string (of 2 characters) and use it has an input to another console application.
I have a problem converting the unicode string into the appropriate string that the console application expects.
The console application can accept strings of any alphabet supported by the computer.
could anyone give me a lead? I am stuck on this for quiet a long time, now
sincerely
nir


Azrul Azhar

Posts: 9
Nickname: bllizard
Registered: Jun, 2002

Re: a problem working with foreign languages Posted: Jun 10, 2002 9:06 PM
Reply to this message Reply
you can user stringTokenizer class. with string tokenizer u can break string into a single chracter and then process it in the servlet.

Flat View: This topic has 1 reply on 1 page
Topic: char array / binary search Previous Topic   Next Topic Topic: Reg Rhino

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use