Es necesario compilar en unicode? /You need to compile in un

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

Post Reply
Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México

Es necesario compilar en unicode? /You need to compile in un

Post by Javier Tovar »

Hola a todos,

Soy de México, y aquí lo más que programo es el lengueje español y muy rara vez quieren las pantallas en ingles. Lo que pasa es que cada vez que me traen una DBF a analizar o sacar datos a imprimir o incorporarla al programa, me salen las palabras acentuadas con otros símbolos o sin ellas, así las muestran en la grid o en ComboBox, por ejemplo; y tengo que editarlas otra vez para que se ponga bien.

Se que UNICODE tiene un gran número de simbolos, aparte del ANSI, contiene para muchos idiomas, como chino, árabe, vietnamita, etc. Pero si para mi me basta (hasta ahorita) el ANSI, no seria mejor para mi compilar mis programas en ANSI?

o a parte de esto que estoy describiendo, en que me beneficia compilar en UNICODE?

Saludos

P.D.: Solo quiero un consejo!, gracias

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Hello everyone,

I'm from Mexico, and here is more than I program lengueje Spanish and very rarely want screens in English. What happens is that every time you bring me a DBF or to analyze output data to print or incorporate it into the program, I get accented words with other symbols or without them, and show them on the grid or ComboBox, for example; and I have to edit it again to get well.

UNICODE is to have a large number of symbols, apart from ANSI, has for many languages​​, such as Chinese, Arabic, Vietnamese, etc. But to me enough for me (until now) ANSI, not better for me to compile my program in ANSI?

or part of what I am describing, I compile in UNICODE benefits?

greetings

P.D .: !, just want some advice thanks
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Es necesario compilar en unicode? /You need to compile i

Post by mol »

I'm still using ansi because of using dbf file which don't support unicode. It's hard to realize online translating and browsing tables, I think.
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: Es necesario compilar en unicode? /You need to compile i

Post by Pablo César »

Hola Javier,

Creo que todo depende del punto de vista que ves las cosas. Si tienes dificultad de utilizar las funciones de conversion de ANSI para UNICODE, entonces quedate con ANSI.

En mi opinion, trabajar en UNICODE es muy bueno y no veo por qué cambiar por causa de los dbfs.

Image

Hi Javier,

I believe all depending your point of view when you have any trouble to use conversion function from ANSI to UNICODE and vice-versa. So, then I indicate to keep in ANSI.

But IMO working with UNICODE is so great and I do not see any reason to change by dbf are in ANSI.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
danielmaximiliano
Posts: 2607
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Es necesario compilar en unicode? /You need to compile i

Post by danielmaximiliano »

Hola : como dice el amigo Pablo no es necesario cambiar las tablas.

la aplicacion que genera las tablas ¿que formato utilizar para guarda los datos ?

por recomendacion de Claudio Soto y seguir utilizando Ansi en tu aplicacion Unicode es necesario que leas esto.

HARBOUR string functions that support Only ANSI character set
file:///C:/hmg.3.3.1/DOC/data/HMG_UNICODE_DOC/HB_Ansi_Strings.htm
HMG at the same time supports ANSI and Unicode character set
file:///C:/hmg.3.3.1/DOC/data/HMG_UNICODE_DOC/Update_HMG_Unicode.htm
SET CODEPAGE : Sets The Current CodePage
file:///C:/hmg.3.3.1/DOC/data/setcodepage.htm
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México

Re: Es necesario compilar en unicode? /You need to compile i

Post by Javier Tovar »

Thank you friends,
mol wrote:I'm still using ansi because of using dbf file which don't support unicode. It's hard to realize online translating and browsing tables, I think.
Yes, I think for now I'll compile ANSI and I take my time of trouble. :)
Pablo César wrote:Hola Javier,

Creo que todo depende del punto de vista que ves las cosas. Si tienes dificultad de utilizar las funciones de conversion de ANSI para UNICODE, entonces quedate con ANSI.

En mi opinion, trabajar en UNICODE es muy bueno y no veo por qué cambiar por causa de los dbfs.
Al parecer, creo que la otra seria hacer un programa para cuando venga una nueva DBF , la transforme en Unicode, la iré haciendo :)
danielmaximiliano wrote:Hola : como dice el amigo Pablo no es necesario cambiar las tablas.

la aplicacion que genera las tablas ¿que formato utilizar para guarda los datos ?
DanielMaximiliano, lo que pasa es que a veces la información son de DBF y son creadas en ANSI, pero también me traen información en Excel, entonces las tengo que pasar a dbf, pero como las pasa es el mismo problema.

Gracias amigos por responder, creo que me tengo que adaptar a Unicode, pero necesito un programa que haga la conversión en automático, el cual iré haciendo. De momento, ya que tengo el trabajo encima voy a compilar a ANSI.

Gracias de nuevo por los tips e información. :) :) :)

///////////////////////////////////////////////////////////////
Thanks all for replying, I think I have to adapt to Unicode, but I need a program that does the conversion automatically, which go by. For now, since I have work up I will compile to ANSI.

Thanks again for the tips and information. :) :) :)
Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México

Re: Es necesario compilar en unicode? /You need to compile i

Post by Javier Tovar »

danielmaximiliano wrote:por recomendacion de Claudio Soto y seguir utilizando Ansi en tu aplicacion Unicode es necesario que leas esto.

HARBOUR string functions that support Only ANSI character set



Quote:
file:///C:/hmg.3.3.1/DOC/data/HMG_UNICODE_DOC/HB_Ansi_Strings.htm




HMG at the same time supports ANSI and Unicode character set


Quote:
file:///C:/hmg.3.3.1/DOC/data/HMG_UNICODE_DOC/Update_HMG_Unicode.htm




SET CODEPAGE : Sets The Current CodePage



Quote:
file:///C:/hmg.3.3.1/DOC/data/setcodepage.htm
Si DanielMaximiliano, ayer estuve investigando y leyendo sobre Unicode y lei los Links a que te refieres y otros que me aclararon las dudas y me ampliaron las dudas, jajaja y por eso pregunte.

Gracias de antemano por la atención recibida. :) :) :)
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Es necesario compilar en unicode? /You need to compile in un

Post by Pablo César »

Have you noted last new implementation of Przemyslaw Czerpak for DBF in Harbour?

viewtopic.php?f=7&t=4199

"U" - column stores Unicode strings

I would like to create new DBF with new field in UNICODE at next release in HMG.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Post Reply