Ignore:
Timestamp:
May 29, 2009, 8:29:38 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

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

File:
1 edited

Legend:

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

    r235 r237  
    46134613        string_set(&Globals.unix_charset, DEFAULT_UNIX_CHARSET);
    46144614#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");
    46174618#endif
    46184619
     
    46204621        /* If the system supports nl_langinfo(), try to grab the value
    46214622           from the user's locale */
     4623#ifndef __OS2__
     4624        /* this does somehow not work on OS/2 */
    46224625        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
    46234632#else
    46244633        string_set(&Globals.display_charset, DEFAULT_DISPLAY_CHARSET);
    46254634#endif
    46264635
     4636#ifndef __OS2__
    46274637        /* Use codepage 850 as a default for the dos character set */
    46284638        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        /*
    46294645
    46304646        /*
Note: See TracChangeset for help on using the changeset viewer.