| Summary: | WIN_UTF8ToString is little-endian only | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Daniel <daniel.plakhotich> |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED WONTFIX | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 2.0.4 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
(In reply to Daniel from comment #0) > WIN_UTF8ToString is defined as a macro that uses > SDL_iconv_string("UTF-16LE", ... > All routines that use it (like SDL_LoadObject, RWops, etc.), will not work > properly on big-endian machines. Is there a bigendian Windows OS? --ryan. Going to mark this as WONTFIX for now, but we'll reopen it if we ever get an Xbox360 port. :) (Even the XBox One is littleendian again, though.) --ryan. |
WIN_UTF8ToString is defined as a macro that uses SDL_iconv_string("UTF-16LE", ... All routines that use it (like SDL_LoadObject, RWops, etc.), will not work properly on big-endian machines.