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

  • From: ciprian.nedisan@xxxxxxxxxxxx
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Sun, 01 Apr 2012 10:50:52 +0200

>There's no distinction from an append standpoint. The only way it
>matters is if you're looking at the length of the string and want 

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

You have BString str = "";  and int32 unicode = xxx;

so how to you  append this unicode to str?

Just append-ing unicode to str results into crash.

(i tried something else too but i get   ''o instead of ö ).



Other related posts: