HMGSCRIPT R39

Moderator: Rathinagiri

User avatar
Czarny_Pijar
Posts: 172
Joined: Thu Mar 18, 2010 11:31 pm
Location: 19.2341 E 50.2267 N

Re: HMGSCRIPT R39

Post by Czarny_Pijar »

Polish national alphabet contains 18 non-English letters, these are: ąćęłńóśźż ĄĆĘŁŃÓŚŻŹ.

In the edit window I had been appending two of them, namely ÓŚ , then I accepted this change (Ok button).

The result can be seen on the right side of the image.
User avatar
Roberto Lopez
HMG Founder
Posts: 4012
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMGSCRIPT R39

Post by Roberto Lopez »

Czarny_Pijar wrote:Polish national alphabet contains 18 non-English letters, these are: ąćęłńóśźż ĄĆĘŁŃÓŚŻŹ.

In the edit window I had been appending two of them, namely ÓŚ , then I accepted this change (Ok button).

The result can be seen on the right side of the image.
I'm pretty sure that the problem is not related with client JavaScript code, but with Harbour server code.

Maybe someone worked with unicode in Harbour could help with that.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMGSCRIPT R39

Post by srvet_claudio »

Roberto Lopez wrote:
Czarny_Pijar wrote:For short: if I only can operate with unicode, then I can boldly call this release 1.00
XP+Chrome
How exactly you done this?

(I have almost not experience with unicode)

TIA.
My knowledge is zero about HMGScript, but maybe if you:

1) SET (_SET_CODEPAGE, "UTF8") // at first in HB function Main()

2) In PRG files you change all string functions that support only ANSI character set for equivalent functions that support ANSI and UNICODE character set (see C:/hmg.3.3.1/DOC/data/HMG_UNICODE_DOC/HB_Unicode_Strings.htm and C:/hmg.3.3.1/DOC/data/HMG_UNICODE_DOC/HB_Ansi_Strings.htm)

3) html file encode in UTF-8 ( <meta charset="UTF-8"> )
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
Roberto Lopez
HMG Founder
Posts: 4012
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMGSCRIPT R39

Post by Roberto Lopez »

srvet_claudio wrote: My knowledge is zero about HMGScript, but maybe if you:

1) SET (_SET_CODEPAGE, "UTF8") // at first in HB function Main()

2) In PRG files you change all string functions that support only ANSI character set for equivalent functions that support ANSI and UNICODE character set (see C:/hmg.3.3.1/DOC/data/HMG_UNICODE_DOC/HB_Unicode_Strings.htm and C:/hmg.3.3.1/DOC/data/HMG_UNICODE_DOC/HB_Ansi_Strings.htm)

3) html file encode in UTF-8 ( <meta charset="UTF-8"> )
Thanks for the info.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
Post Reply