invalid UTF-8 sequence compiler error

Thomas Kuehne thomas-dloop at kuehne.cn
Sat Apr 7 05:33:54 PDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Cesar Rabak schrieb am 2007-04-06:
> Cesar Rabak escreveu:
>> Carlos Santander escreveu:
>> [snipped]
>>>
>>> This is a D feature, not a GDC problem. Save your file as UTF-8, -16, 
>>> or -32, and it'll work.
>>>
>> 
>> It will take time to convince my folks it is a feature but I'll try :-)
>> 
> In a chat with the stake holders I learned the source I can use the code 
> I want, but for the message strings I'll need to abide the sysadmin's 
> decisions which may be not UTF-.
>
> How it is this solved with the D compiler?

If you simply store and print message you could use "ubyte[]". For everyting
else like searching, concating etc. more information about the
encoding(s) is required.

Thomas

-----BEGIN PGP SIGNATURE-----

iD8DBQFGF4+YLK5blCcjpWoRArCeAJ9rHeF6lxdnM84SbB0u+yn8v9q+igCdHakA
7Wzc3v3elbwKzB7y+wAwudQ=
=Lzag
-----END PGP SIGNATURE-----


More information about the D.gnu mailing list