Hi all.
Our app UI use English, but we have a few users that require either Greek or Baltic
characters to display correctly on screen. So far all my experiments haven't quite worked.
The idea is to be able to display standard English chars along with any of the
character set available depending on the font selected (i.e. the Script combobox from
the Windows API ChooseFont() dialog).
Let's just stick with Greek for the moment.
At startup I set
REQUEST HB_CODEPAGE_ELWIN
hb_SetCodePage( "ELWIN" )
and when creating fonts I make sure I pass 161 to TFont:nCharSet IVAR.
But that doesn't seem to make a difference, either using just the ELWIN charset
or passing 161 to nCharSet or using both.
I used Word to grab the lowercase greek alphabet (I don't speek Greek so apologies
if this is incomplete):
αβγδεζηθικλμνξοπρςστυφχψω
And then paste it into a GET in our app, but this is what I get:
aß?de??????µ???p??st?f???
As you can see, only a few characters display correctly; the rest are just replaced
by question marks (?).
Any idea if this is even possible with FiveWin + xHarbour?
Thanks!
Using other Western chars with an English app?
- Luis Krause
- Posts: 59
- Joined: Tue Oct 11, 2005 1:39 am
- Location: Vancouver, Canada
Using other Western chars with an English app?
"May the Source be with GNU"
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: Using other Western chars with an English app?
Hi Luis,
We haven't see you here in sometime. Nice to have you back.
This is not something that I am familiar with, but if you search the forum for "unicode" you may find some info about your problem. Unfortunately, you won't like the info you find. FWH does not support Unicode yet.
You may also be interested in Wikipedia's explaination of Unicode.
James
We haven't see you here in sometime. Nice to have you back.
This is not something that I am familiar with, but if you search the forum for "unicode" you may find some info about your problem. Unfortunately, you won't like the info you find. FWH does not support Unicode yet.
You may also be interested in Wikipedia's explaination of Unicode.
James
- Luis Krause
- Posts: 59
- Joined: Tue Oct 11, 2005 1:39 am
- Location: Vancouver, Canada
Re: Using other Western chars with an English app?
James:
Oh, I've been around... just little time to visit the forums frequently!
I sort of suspected it was the lack of Unicode support in FWH, but I guess
I was also hoping there was a way to make it work,
Hopefully Antonio will announce Unicode support in FWH soon enough.
Regards,
Oh, I've been around... just little time to visit the forums frequently!
I sort of suspected it was the lack of Unicode support in FWH, but I guess
I was also hoping there was a way to make it work,
Hopefully Antonio will announce Unicode support in FWH soon enough.
Regards,
"May the Source be with GNU"