[Gambas-user] Some more questions

Daniel Campos daniel.campos at ...338...
Mon Jan 24 10:39:46 CET 2005


Laurent Duperval escribió:

>On Sun, 23 Jan 2005 19:23:47 +0100, Daniel Campos
><daniel.campos at ...338...> wrote:
>  
>
>>Gambas uses UTF-8 internally, so you can use the Conv$ function in order
>>to convert, retireve and display data from a TextArea...
>>
>>    
>>
>
>Hmmm.... Ok, let me figure out what the problem is. I have data in a
>Postgres database and it reads properly in Vim (which uses UTF-8, I
>think) but in a TextArea, the accented characters are replaced by two
>blocks. Maybe it's stored in Unicode or UTF-16.
>
>  
>
Yes, usually when there are two "black blocks" per each character
the codification is UTF-16, so you could do:

TextArea1.Text=Conv(Data,"UTF-16","UTF-8")

Regards,

D. Campos





More information about the User mailing list