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.
HMGSCRIPT R39
Moderator: Rathinagiri
- Czarny_Pijar
- Posts: 172
- Joined: Thu Mar 18, 2010 11:31 pm
- Location: 19.2341 E 50.2267 N
- Roberto Lopez
- HMG Founder
- Posts: 4012
- Joined: Wed Jul 30, 2008 6:43 pm
Re: HMGSCRIPT R39
I'm pretty sure that the problem is not related with client JavaScript code, but with Harbour server code.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.
Maybe someone worked with unicode in Harbour could help with that.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- srvet_claudio
- Posts: 2193
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: HMGSCRIPT R39
My knowledge is zero about HMGScript, but maybe if you:Roberto Lopez wrote:How exactly you done this?Czarny_Pijar wrote:For short: if I only can operate with unicode, then I can boldly call this release 1.00
XP+Chrome
(I have almost not experience with unicode)
TIA.
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"> )
- Roberto Lopez
- HMG Founder
- Posts: 4012
- Joined: Wed Jul 30, 2008 6:43 pm
Re: HMGSCRIPT R39
Thanks for the info.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"> )
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)