[Gambas-user] CryptoExample & gCrypto

Brant Wells bwells at ...475...
Wed Jul 28 23:05:11 CEST 2004


Benoit Minisini wrote:

>On Wednesday 28 July 2004 16:14, Brant Wells wrote:
>  
>
>>Hey Daniel:
>>
>>I agree completely.  I think, though, that it will require some extra
>>coding on our part...  Linux uses a variety of Character Sets...  where
>>Windows uses ASCII or Unicode...  Right?
>>    
>>
>
>Not exactly, but this is not the problem :-)
>  
>
Brant Says:  Do you know what the problem is??  If so... Do tell! :-P<>

Benoit Minisini wrote:

>The two conversions work on my machine, and I have a Mandrake 10 with 
>System.Charset = "ISO-8859-15" (It is ISO-8859-1 with the Euro sign).
>
>I tried with my first name :-) in the IDE console window.
>
>?Conv$("benoît", System.Charset, Desktop.Charset)
>benoît
>?Conv$("benoît", Desktop.Charset, System.Charset)
>benoît
>
>Note that the console window does not use Desktop.Charset but System.Charset 
>to display strings.
>  
>
Brant Says:
I get the same thing when I do System.Charset and Desktop.Charset... 
However, when I get unicode, it does this:
?conv("benoît",System.Charset,"Unicode")
ÿþb [followed by 11 boxes... unprintable Unicode Chars, I'll assume...]

?conv("ÿþb           ","Unicode",System.charset)
Syntax error

[Again, keep in mind that I assume the spaces after the ÿþb are 
unprintable Unicode Chars]...

I'm at a loss for ideas as to how to work around this, to just make it 
work with Windoze...  I understand that you are a Busy Man, like all of 
us, Benoit...  But if you could maybe point me in the right direction, 
I'd really appreciate it!!!

oh...  btw...  How did the production go that you were a part of??

Thanks!
~Brant





More information about the User mailing list