Changeset 237 for branches/samba-3.2.x/source/param
- Timestamp:
- May 29, 2009, 8:29:38 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/param/loadparm.c
r235 r237 4613 4613 string_set(&Globals.unix_charset, DEFAULT_UNIX_CHARSET); 4614 4614 #else 4615 /* On OS/2, using UTF8 causes problems with display of foreign characters - default to SYSTEM codepage */ 4616 string_set(&Globals.unix_charset, "SYSTEM"); 4615 /* On OS/2, using UTF8 causes problems with display of foreign 4616 characters - default to IBM-850 codepage */ 4617 string_set(&Globals.unix_charset, "IBM-850"); 4617 4618 #endif 4618 4619 … … 4620 4621 /* If the system supports nl_langinfo(), try to grab the value 4621 4622 from the user's locale */ 4623 #ifndef __OS2__ 4624 /* this does somehow not work on OS/2 */ 4622 4625 string_set(&Globals.display_charset, "LOCALE"); 4626 #else 4627 /* On OS/2, using UTF8 causes problems with display of foreign 4628 characters - default to IBM-850 codepage */ 4629 string_set(&Globals.display_charset, "IBM-850"); 4630 #endif 4631 4623 4632 #else 4624 4633 string_set(&Globals.display_charset, DEFAULT_DISPLAY_CHARSET); 4625 4634 #endif 4626 4635 4636 #ifndef __OS2__ 4627 4637 /* Use codepage 850 as a default for the dos character set */ 4628 4638 string_set(&Globals.dos_charset, DEFAULT_DOS_CHARSET); 4639 #else 4640 /* On OS/2, using UTF8 causes problems with display of foreign 4641 characters - default to IBM-850 codepage */ 4642 string_set(&Globals.dos_charset, "IBM-850"); 4643 #endif 4644 /* 4629 4645 4630 4646 /*
Note:
See TracChangeset
for help on using the changeset viewer.