-
Notifications
You must be signed in to change notification settings - Fork 3.4k
-
I've went through the quick tutorial (C++), and I noticed the string
members in the output binary is having a lot of 0x00
characters. My initial guess was that the string
members are writen in UTF-8 mode, then I found the schema guide mentioned:
"string
, which may only hold UTF-8 or 7-bit ASCII."
It sounds like we could change it to ASCII mode, however I tried to explicitly use const char * name = "Sword";
and pass this explicit char variable to CreateString
and its still written in UTF-8 mode.
I'm not sure if my deductions are accurate so I'll write my question in a more generic sense, I would like to know if its possible to write in single byte per character for string
, if it is then how do we change string
to write to binary in such manner?
Beta Was this translation helpful? Give feedback.