Skip to content

Commit

Permalink
FIX eclipse-omr#50 : Force UTF-16 to be little endian on OSX
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Young <[email protected]>
  • Loading branch information
youngar committed Mar 31, 2016
1 parent ad76f44 commit 59ac51c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions port/unix/omriconvhelpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
const char *utf8 = "UTF-8";
#if defined(J9ZOS390)
const char *utf16 = "01200"; /* z/OS does not accept "UTF-16" */
#elif defined(OSX)
const char *utf16 = "UTF-16LE";
#else
const char *utf16 = "UTF-16";
#endif
Expand Down

0 comments on commit 59ac51c

Please sign in to comment.