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

Fix for Ticket #85 (by diver)

File:
1 edited

Legend:

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

    r165 r236  
    14651465        string_set(&Globals.unix_charset, DEFAULT_UNIX_CHARSET);
    14661466#else
    1467         /* On OS/2, using UTF8 causes problems with display of foreign characters - default to SYSTEM codepage */
    1468         string_set(&Globals.unix_charset, "SYSTEM");
     1467        /* On OS/2, using UTF8 causes problems with display of foreign
     1468           characters - default to IBM-850 codepage */
     1469        string_set(&Globals.unix_charset, "IBM-850");
    14691470#endif
    14701471
     
    14721473        /* If the system supports nl_langinfo(), try to grab the value
    14731474           from the user's locale */
     1475#ifndef __OS2__
     1476        /* this does somehow not work on OS/2 */
    14741477        string_set(&Globals.display_charset, "LOCALE");
     1478#else
     1479        /* On OS/2, using UTF8 causes problems with display of foreign
     1480           characters - default to IBM-850 codepage */
     1481        string_set(&Globals.display_charset, "IBM-850");
     1482#endif 
     1483
    14751484#else
    14761485        string_set(&Globals.display_charset, DEFAULT_DISPLAY_CHARSET);
     
    14811490        string_set(&Globals.dos_charset, DEFAULT_DOS_CHARSET);
    14821491#else
    1483         /* On OS/2, using UTF8 causes problems with display of foreign characters - default to SYSTEM codepage */
    1484         string_set(&Globals.dos_charset, "SYSTEM");
     1492        /* On OS/2, using UTF8 causes problems with display of foreign
     1493           characters - default to IBM-850 codepage */
     1494        string_set(&Globals.dos_charset, "IBM-850");
    14851495#endif
    14861496        /*
Note: See TracChangeset for help on using the changeset viewer.