Changeset 239 for branches/samba-3.3.x/source/param/loadparm.c
- Timestamp:
- May 29, 2009, 9:57:41 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/param/loadparm.c
r224 r239 4651 4651 string_set(&Globals.unix_charset, DEFAULT_UNIX_CHARSET); 4652 4652 #else 4653 /* On OS/2, using UTF8 causes problems with display of foreign characters - default to SYSTEM codepage */ 4654 string_set(&Globals.unix_charset, "SYSTEM"); 4653 /* On OS/2, using UTF8 causes problems with display of foreign 4654 characters - default to IBM-850 codepage */ 4655 string_set(&Globals.unix_charset, "IBM-850"); 4655 4656 #endif 4656 4657 … … 4658 4659 /* If the system supports nl_langinfo(), try to grab the value 4659 4660 from the user's locale */ 4661 #ifndef __OS2__ 4662 /* this does somehow not work on OS/2 */ 4660 4663 string_set(&Globals.display_charset, "LOCALE"); 4664 #else 4665 /* On OS/2, using UTF8 causes problems with display of foreign 4666 characters - default to IBM-850 codepage */ 4667 string_set(&Globals.display_charset, "IBM-850"); 4668 #endif 4669 4661 4670 #else 4662 4671 string_set(&Globals.display_charset, DEFAULT_DISPLAY_CHARSET); … … 4667 4676 string_set(&Globals.dos_charset, DEFAULT_DOS_CHARSET); 4668 4677 #else 4669 /* On OS/2, using UTF8 causes problems with display of foreign characters - default to SYSTEM codepage */ 4670 string_set(&Globals.dos_charset, "SYSTEM"); 4678 /* On OS/2, using UTF8 causes problems with display of foreign 4679 characters - default to IBM-850 codepage */ 4680 string_set(&Globals.dos_charset, "IBM-850"); 4671 4681 #endif 4682 4672 4683 /* 4673 4684 * Allow the default PASSWD_CHAT to be overridden in local.h.
Note:
See TracChangeset
for help on using the changeset viewer.