NO

Author Topic: utf8  (Read 3666 times)

czerny

  • Guest
utf8
« on: April 24, 2013, 10:48:39 PM »
Here is a little trap I fell in today:
This is a valid C string.
Code: [Select]
"Hall\xc3\xb6chen"
Problem: Pelles C reads 'H' 'a' 'l' 'l' '\xc3' '\xb6c' 'h' 'e' 'n'

I had to code:
Code: [Select]
"Hall\xc3\xb6" "chen"to get it right.