FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Graphics with Unicode inscriptions
Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
Graphics with Unicode inscriptions
Posted: Tue Oct 10, 2006 04:58 AM

Hi !

It's needful to work with application in some languages . One of them can be Russian with Cyrilic alphabet . As I know , the best way to view true inscriptions in menus , dialogs & windows says is Unicode text . Can you get me a sample , how I can to do that working ? I'll store all needfuls inscriptions in txt files ( lt.txt , ru.txt , en.txt and etc. ) with unique IDs . So when user at program startup moment will choose language I will direct to needful txt file and will get needfuls inscriptions . But I don't know how to put them in dialogs say as Unicode string ... :(

Many thanks in advance ! With best regards ! Rimantas

Rimantas U.
Posts: 128
Joined: Mon Jul 31, 2006 03:23 PM
Graphics with Unicode inscriptions
Posted: Tue Oct 10, 2006 07:16 AM

Rimantas,

Save all dialog information on ini files.

best regard
areang

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Graphics with Unicode inscriptions
Posted: Tue Oct 10, 2006 08:36 AM

Rimantas,

You may use AnsiToWide( <cAnsiText> ) -- > <cUnicodeText> and WideToAnsi( <cUnicodeText> ) --> <cAnsiText> to manage unicode strings.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
Graphics with Unicode inscriptions
Posted: Wed Oct 11, 2006 07:45 AM
Antonio Linares wrote:
You may use AnsiToWide( <cAnsiText> ) -- > <cUnicodeText> and WideToAnsi( <cUnicodeText> ) --> <cAnsiText> to manage unicode strings.


Hi , Antonio ! Thanks for the answer :-) . It seems that AnsiToWide(cString) will get me what I want .

Regards !
Rimantas U.

Continue the discussion