Page 1 of 1 1
Topic Options
#183265 - 2007-12-04 04:46 PM Using non-Latin Alphabet characters in strings
mis009 Offline
Fresh Scripter

Registered: 2007-03-02
Posts: 9
Loc: Ohio, USA
anybody have any idea how to use non-latin alphabet charactors in a string, such as the Czechan 4th letter that is represented by a C with a caron (C-Caron). I also need to use various other Czechan letters.

I have tried to copy and paste it to a string and it automatically changes to a "?". I cannot find a char code to represent it but I can find the Unicode.

I know I can use Jpgs to show pictures of the text I want to show, but thats just not Right


Edited by mis009 (2007-12-04 09:23 PM)
Edit Reason: spelling

Top
#183266 - 2007-12-04 05:02 PM Re: Using non-Latin Alphabet charactors in strings [Re: mis009]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
According to Wikipedia this should be it.

http://nl.wikipedia.org/wiki/Diakritisch_teken

It is in Dutch but about half way down the page there is a table with all off these characters.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#183267 - 2007-12-04 05:06 PM Re: Using non-Latin Alphabet charactors in strings [Re: Mart]
mis009 Offline
Fresh Scripter

Registered: 2007-03-02
Posts: 9
Loc: Ohio, USA
But it doesn't give me the Char() code. Is there a way I can use the UTF - 8 or Alt code in Kix?
Top
#183275 - 2007-12-04 11:13 PM Re: Using non-Latin Alphabet charactors in strings [Re: mis009]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
The ALT code is usually the code to use in the Chr() function (until now this worked for me). For example Chr(0233) will give you the é character just like ALT 0233 does.

It does not work for all special characters. ALT 137 gives ë but Chr(137) gives %. ALT 268 should give an uppercase Č and ALT 269 should give a lowercase č. It works fine for me in Word but not in Excel, Notepad and a console window (gives me a music note and a female symbol).

I'm not sure but I guess this also depends on your regional settings.

Have a look at: http://www.microwebedu.nl/site/helpdesk/documentatie/ascii_tabel.pdf
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#183347 - 2007-12-06 03:34 PM Re: Using non-Latin Alphabet charactors in strings [Re: Mart]
mis009 Offline
Fresh Scripter

Registered: 2007-03-02
Posts: 9
Loc: Ohio, USA
Still cannot get this to work! I have run a script that will give me all the chr(x) codes. and cannot find the result for the characters I am trying to display in the variable. Is there anyone out there using Kixtart for Czech or other languages? These are the characters I am trying to display:
ί
č
ě

Does anyone know how to display them? Kixtart just changes them to a "?"

Fyi.. The words being used are:

Pracovnί stanice

Jměno uživatele

Uživatelský účet

Operační systém

Top
#183360 - 2007-12-06 07:43 PM Re: Using non-Latin Alphabet charactors in strings [Re: mis009]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11631
Loc: CA
I'm not really sure if KiX does support it, at least properly.

Hopefully someone with actual experience in this area will respond to the post.

You might also want to send an e-mail to the author to get his response on this subject.

Top
#183368 - 2007-12-07 10:01 AM Re: Using non-Latin Alphabet charactors in strings [Re: NTDOC]
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Agreed, KiXtart only really supports extended ASCII / single-byte characters. It has partial support for multi-byte characters, but there is not really any practical way to use it.

You may be able to change your "code page" to display the characters in the correct form on a console, but that is basically just a typeface change - the underlying characters are still the same.

You can create unicode output streams using FSO, but they are a bugger to manage. What exactly do you need to generate the Czech text for?

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1045 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.064 seconds in which 0.028 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org