In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

How to Enable UTF8 in Xailer Form ?

Xailer professional forum in English
Responder
Milan Mehta
Mensajes: 148
Registrado: Dom Dic 27, 2009 9:54 am

How to Enable UTF8 in Xailer Form ?

Mensaje por Milan Mehta »

I wish to use UTF8 compliant Font using Google Input Handler on the Xailer
form.
How can I ?
It works fine in MS Excel, Word etc.
Kindly guide.
Milan.
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

How to Enable UTF8 in Xailer Form ?

Mensaje por ignacio »

Milan Mehta escribió el lun, 29 julio 2013 10:07I wish to use UTF8 compliant Font using Google Input Handler on the Xailer
form.
How can I ?
It works fine in MS Excel, Word etc.
Kindly guide.
Milan.
I'm afraid is not possible, sorry.
Regards,
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Milan Mehta
Mensajes: 148
Registrado: Dom Dic 27, 2009 9:54 am

How to Enable UTF8 in Xailer Form ?

Mensaje por Milan Mehta »

Any workaround ?
Many people should be using Unicodes (to use other than English language).
TIA
Milan.
"Ignacio Ortiz de Zúñiga" <nonametoavoidspam@xailer.com> wrote in
message news:51f65172$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Milan Mehta escribió el lun, 29 julio 2013 10:07
>> I wish to use UTF8 compliant Font using Google Input
>> Handler on the Xailer form.
>> How can I ?
>>
>> It works fine in MS Excel, Word etc.
>>
>> Kindly guide.
>>
>> Milan.
>
>
> I'm afraid is not possible, sorry.
>
> Regards,
> --
> Ignacio Ortiz de Zúñiga
> [Equipo de Xailer/Xailer team]
> http://www.xailer.com
> http://www.xailer.info
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

How to Enable UTF8 in Xailer Form ?

Mensaje por jfgimenez »

Milan,
> Any workaround ?
> Many people should be using Unicodes (to use other than English language).
it's used to set the correct codepage in each case. The problem to use
unicode in a program is that everything in that program should be
unicode, or you have to make conversions everywhere. That includes DBF
or any other DB manager, calling to windows API, and so on.
In the case of Xailer, all controls are created in ANSI mode, using the
selected codepage. So, pure unicode chars cannot be used, that is, every
char must fit 8 bits, not 16 bits, limiting the amount of simultaneous
chars to 256. However, as I've said before, you may set the codepage to
the desired one by calling that Harbour's function hb_cdpselect(). At
the beginning of the program, Xailer calls HB_CdpSelect( hb_cdpOS() ),
to select the OS default CP, but you may change to any other one.
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

How to Enable UTF8 in Xailer Form ?

Mensaje por ignacio »

Milan Mehta escribió el lun, 29 julio 2013 15:36Any workaround ?
Many people should be using Unicodes (to use other than English language).
TIA
Milan.
Hi,
Xailer was constructed with only ANSI charset support, which was the only available in [x]harbour from its beginning. Now, I believe Harbour has start supporting Unicode, but unfortunately its a lot of work to do on Xailer to support it.
BTW, we have some function for Unicode conversion:
- AnsiToWide()
- WideToAnsi()
- Utf8ToAnsi()
- AnsiToUtf8()
Regards,
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

How to Enable UTF8 in Xailer Form ?

Mensaje por jfgimenez »

Milan,
BTW, I forgot to say that windows uses UTF-16, not UTF-8, so, if you
need to store UTF-8 data, you have to make the conversion when needed.
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Responder