$NetBSD: patch-ag,v 1.2 2004/04/26 07:10:16 fredb Exp $ --- platforms/unix/vm/sqUnixCharConv.c 2003-11-18 12:30:32.000000000 -0600 +++ platforms/unix/vm/sqUnixCharConv.c 2004-04-25 15:02:13.000000000 -0500 @@ -151,14 +151,18 @@ typedef char ichar_t; -#ifdef __sparc +#if defined(__sparc) && !defined(__NetBSD__) void *sqTextEncoding= (void *)"mac"; /* xxxFIXME -> "ISO-8859-15" */ void *uxPathEncoding= (void *)"iso"; void *uxTextEncoding= (void *)"iso"; void *uxXWinEncoding= (void *)"iso"; void *uxUTF8Encoding= (void *)"UTF-8"; #else +#ifdef __NetBSD__ +void *sqTextEncoding= (void *)"ISO-8859-15"; +#else void *sqTextEncoding= (void *)"MACINTOSH"; /* xxxFIXME -> "ISO-8859-15" */ +#endif void *uxPathEncoding= (void *)"UTF-8"; void *uxTextEncoding= (void *)"ISO-8859-15"; void *uxXWinEncoding= (void *)"ISO-8859-1";