Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Foreign Characters
08-10-2010, 11:59 PM (This post was last modified: 08-10-2010 11:59 PM by rebel_1.)
Post: #1
Foreign Characters
I would like to create a programme where there is a textbox which will contain foreign characters but whenever I try to put them in it just comes up as question marks, eg the Arabic word Salaam (سلام) will just come up as '????'.

Is there any way around this?

It's the same for all foreign alphabets btw; Perso-Arabic, Cyrillic, Mandarin, etc
Find all posts by this user
Quote this message in a reply
08-11-2010, 12:29 AM
Post: #2
RE: Foreign Characters
Well i am always using English when i am programing so pure ASCII is enough for me.
Basically what you need is Unicode. I think that in this case .NET is going to solve the problem.
Maybe some other members have different ideas, but i think that newest version of .NET has
everything you need to manipulate with characters of any alphabet.

There's a fine line between genius and insanity. I have erased this line.
Oscar Levant
There's a fine line between an administrator and black hat hacker. I have erased this line.
Dr DEBCOL
Visit this user's website Find all posts by this user
Quote this message in a reply
08-11-2010, 02:21 AM
Post: #3
RE: Foreign Characters
Yeah, any Unicode compliant language should do the job.

"Character is determined more by the lack of certain experiences than by those one has had."
Friedrich Nietzsche
Visit this user's website Find all posts by this user
Quote this message in a reply
08-23-2010, 03:27 AM
Post: #4
RE: Foreign Characters
You may also want to try using a font that supports Unicode. Arial Unicode MS is an example. I would expect that even VB6 would allow non-English characters to be typed with the proper font selected.

Free image hosting at http://myph.us.
Find all posts by this user
Quote this message in a reply
08-26-2010, 12:20 AM
Post: #5
RE: Foreign Characters
(08-23-2010 03:27 AM)ajcis55 Wrote:  You may also want to try using a font that supports Unicode. Arial Unicode MS is an example. I would expect that even VB6 would allow non-English characters to be typed with the proper font selected.

As long as there's a type capable of holding said characters (often referenced to as a wide char), the language should be capable of dredging about with the language.

Be sure to check whether the font your textbox is using has proper support for unicode characters.
Find all posts by this user
Quote this message in a reply
03-21-2011, 03:39 PM
Post: #6
RE: Foreign Characters
May be text-box setting is not proper. You can get help from main configuration setting to avoid the problem.

In outdoor swim, swimming goggle protects you from ultraviolet radiation.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


 Quick Theme: