[haiku-3rdparty-dev] Re: BString append unicode

  • From: ciprian.nedisan@xxxxxxxxxxxx
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Sun, 01 Apr 2012 12:04:38 +0200

>can you give me the lines of code that you would use for adding a 
>unicode char to a BString ?.

ok, it's done already (the text of the pdf file was indeed "o and 
not ö, that confused me, because i expected ö).
Using BUnicodeChar to transform the unicode to utf8 (array). And 
then append-ing that array.
Perhaps a method like "AppendUnicodeChar" can be added to BString?



Other related posts: