Ticket #20: loadparm.diff

File loadparm.diff, 665 bytes (added by guest, 17 years ago)

set the default value of dos charset to 'SYSTEM' instead of 'CP850'

  • param/loadparm.c

     
    14811481        string_set(&Globals.display_charset, DEFAULT_DISPLAY_CHARSET);
    14821482#endif
    14831483
     1484#ifndef __OS2__
    14841485        /* Use codepage 850 as a default for the dos character set */
    14851486        string_set(&Globals.dos_charset, DEFAULT_DOS_CHARSET);
     1487#else
     1488    /* On OS/2, using CP850 causes problems with display of foreign characters - default to SYSTEM codepage */
     1489    string_set(&Globals.dos_charset, "SYSTEM");
     1490#endif
    14861491
    14871492        /*
    14881493         * Allow the default PASSWD_CHAT to be overridden in local.h.