Marco van de Voort schreef: >> It looks simple to me, there are just 2 ways to go, either utf-8 or >> utf-16. > > There are more possibilities: > - native encoding (utf-8 on *nix, utf-16 on windows) > - have two types. How can one write portable code with these options? > - an unified type (type contains encoding) > Vincent