Ignore:
Timestamp:
May 29, 2009, 9:57:41 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Fix for Ticket #85 (by diver) in 3.3 branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/param/loadparm.c

    r224 r239  
    46514651        string_set(&Globals.unix_charset, DEFAULT_UNIX_CHARSET);
    46524652#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");
    46554656#endif
    46564657
     
    46584659        /* If the system supports nl_langinfo(), try to grab the value
    46594660           from the user's locale */
     4661#ifndef __OS2__
     4662        /* this does somehow not work on OS/2 */
    46604663        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
    46614670#else
    46624671        string_set(&Globals.display_charset, DEFAULT_DISPLAY_CHARSET);
     
    46674676        string_set(&Globals.dos_charset, DEFAULT_DOS_CHARSET);
    46684677#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");
    46714681#endif
     4682
    46724683        /*
    46734684         * Allow the default PASSWD_CHAT to be overridden in local.h.
Note: See TracChangeset for help on using the changeset viewer.