Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Substr does not handle unicode?

$
0
0

@stephanschulz wrote:

I have a unicode string
myStrig = "üöéñ and so on"

OF can print it nicely to the screen. But when I try to create an array of each separate letter by using
string letter = currentString.substr(i,1);
then some letters do not get stored in the array.

Is there a work around for this?

Thanks.
I'm on OSX 10.12 with OF 0.10

Posts: 5

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 4929

Latest Images

Trending Articles



Latest Images