latin-1 encoding

Johan Granberg lijat.meREM at OVE.gmail.com
Fri Jan 12 01:53:30 PST 2007


Simen Haugen wrote:

> "Johan Granberg" wrote:
>> What are you trying to do? It would be helpfull to know if you want to
>> read
>> files in latin-1 or if you want your whole program to use it internally.
> 
> Reading and writing files.

there is no string manipulation functions i the standard library that will
help you there but you could read them as usual but instead of using char[]
use ubyte[] to store them. If you want to use string manipulation functions
the easiest would be to convert to utf8, there was some discussion of how
to do that a couple of weeks ago.


More information about the Digitalmars-d-learn mailing list