16-bit character

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
Monkalicious
Posts: 1
Joined: Mon May 04, 2009 12:29 am

16-bit character

Post by Monkalicious »

Just a small thing, probably been corrected, anyway.
c16 doesn't seem to be in the irr namespace, at least with my build.
There is probably a reason for it, but it just seems inconsistent.

Thanks for the great engine, keep it coming.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

That's simply because we don't have a 2byte char type. wchar_t under Linux is 4 bytes long (in general), so there's no simple way to ensure the byte count. Use u8 for byte streams, c8 for C-style chars, and core::stringc/core::stringw for the rest.
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

Can we remove c16 from trunk and replace it with os::path as discussed on the mailing list? If so, we should do this before 1.6 is finalized.
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Post Reply