> I've seen one bug right now, shouldn't Spain be "34"?
according to http://www.vfrazee.com/ms-dos/6.22/help/country.htm - yes unfortunately I took the 33 from a VERY old kernel35, the current has a 34 but still >> ".", /* ',' # Thousand's separator */ >> "'", /* Decimal point - by aitor */ look swapped Tom > (Can't remember if the DOS country codes are the ones used in > telephony, but in such case, it's definitely 34). > Aitor > 2007/6/27, Tom Ehlert <[EMAIL PROTECTED]>: >> BTW: >> country=33 (spain) would be perfekt, it it wasn't buggy >> (1000's/decimal point swapped) >> >> /* Spain */ ,{ >> 33, /* = W1 W437 # Country ID & Codepage */ >> 850, >> _DATE_DMY, /* Date format: 0/1/2: U.S.A./Europe/Japan >> */ >> "EUR", /* '$' ,'EUR' */ >> ".", /* ',' # Thousand's separator */ >> "'", /* Decimal point - by aitor */ >> "-", /* '-' DateSeparator */ >> ":", /* ':' TimeSeparator */ >> 0, /* = 0 # Currency format (bit array) */ >> 2, /* = 2 # Currency precision */ >> _TIME_24 /* = 0 # time format: 0/1: 12/24 houres */ >> } >> >> Tom >> >> >> >> >> Is there any way to set up manually all configurations for the COUTRY.SYS >> >> settings? I mean, how could I decide exactly which character I want to use >> >> for decimals, which for hundreds separator, how to display the date >> >> etc...? >> >> >> I know that I can choose between various countries standards, but none of >> >> them >> >> fills all my needs. >> >> >> What I would like to have is: >> >> Date format: dd.mm.yyyy >> >> Time format: hh:mm >> >> Decimal separator: " . " >> >> Hundreds separator: " ' " >> >> Currency: € (I don't know if FreeDOS is storing the currency anywhere) >> >> > enter into CONFIG.SYS: >> > country=49 (german) >> >> > gets pretty close to what you want (even for the stable kernel), >> >> >> > see the other possibilities below, hard compiled into the kernel. >> >> > the currency is probably irrelevant, no program ever cared >> >> > Tom >> >> >> >> > FIXED country settings: >> >> > struct CountrySpecificInfo specificCountriesSupported[] = { >> > >> > /* US */ { >> > 1, /* = W1 W437 # Country ID & Codepage */ >> > 437, >> > _DATE_MDY, /* Date format: 0/1/2: >> > U.S.A./Europe/Japan */ >> > "$", /* '$' ,'EUR' */ >> > ",", /* ',' # Thousand's separator */ >> > ".", /* '.' # Decimal point */ >> > "/", /* '-' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 0, /* = 0 # Currency format (bit array) */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_12 /* = 0 # time format: 0/1: 12/24 houres */ >> > } >> > >> > /* Canadian French */ ,{ >> > 2, /* = W1 W437 # Country ID & Codepage */ >> > 863, >> > _DATE_YMD, /* Date format: 0/1/2: >> > U.S.A./Europe/Japan */ >> > "$", /* '$' ,'EUR' */ >> > ",", /* ',' # Thousand's separator */ >> > ".", /* '.' # Decimal point */ >> > "-", /* '-' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 0, /* = 0 # Currency format (bit array) */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_24 /* = 0 # time format: 0/1: 12/24 houres */ >> > } >> > >> > /* Latin America */ ,{ >> > 3, /* = W1 W437 # Country ID & Codepage */ >> > 850, >> > _DATE_MDY, /* Date format: 0/1/2: >> > U.S.A./Europe/Japan */ >> > "$", /* '$' ,'EUR' */ >> > ",", /* ',' # Thousand's separator */ >> > ".", /* '.' # Decimal point */ >> > "/", /* '-' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 0, /* = 0 # Currency format (bit array) */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_12 /* = 0 # time format: 0/1: 12/24 houres */ >> > } >> > >> > /* Russia - by arkady */ ,{ >> > 7, /* = W1 W437 # Country ID & Codepage */ >> > 866, >> > _DATE_DMY, /* Date format: 0/1/2: >> > U.S.A./Europe/Japan */ >> > "RUB", /* '$' ,'EUR' */ >> > /* should be "\xE0", but as no codepage >> > support exists (yet), better to leave >> > it as 'Rubels' >> > */ >> > " ", /* ',' # Thousand's separator */ >> > ",", /* '.' # Decimal point */ >> > ".", /* '-' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 3, /* Currency format : currency follows, >> > after blank */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_24 /* = 0 # time format: 0/1: 12/24 houres */ >> > } >> > >> > /* DUTCH */ ,{ >> > 31, /* = W1 W437 # Country ID & Codepage */ >> > 850, >> > _DATE_DMY, /* Date format: 0/1/2: >> > U.S.A./Europe/Japan */ >> > "EUR", /* '$' ,'EUR' */ >> > ".", /* ',' # Thousand's separator */ >> > ",", /* '.' # Decimal point */ >> > "-", /* '-' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 0, /* = 0 # Currency format (bit array) */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_24 /* = 0 # time format: 0/1: 12/24 houres */ >> > } >> > >> > /* Belgium */ ,{ >> > 32, /* = W1 W437 # Country ID & Codepage */ >> > 850, >> > _DATE_DMY, /* Date format: 0/1/2: >> > U.S.A./Europe/Japan */ >> > "EUR", /* '$' ,'EUR' */ >> > ".", /* ',' # Thousand's separator */ >> > ",", /* '.' # Decimal point */ >> > "-", /* '-' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 0, /* = 0 # Currency format (bit array) */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_24 /* = 0 # time format: 0/1: 12/24 houres */ >> > } >> > >> > /* France */ ,{ >> > 33, /* = W1 W437 # Country ID & Codepage */ >> > 850, >> > _DATE_DMY, /* Date format: 0/1/2: >> > U.S.A./Europe/Japan */ >> > "EUR", /* '$' ,'EUR' */ >> > ".", /* ',' # Thousand's separator */ >> > ",", /* '.' # Decimal point */ >> > "-", /* '-' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 0, /* = 0 # Currency format (bit array) */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_24 /* = 0 # time format: 0/1: 12/24 houres */ >> > } >> > >> > /* Spain */ ,{ >> > 33, /* = W1 W437 # Country ID & Codepage */ >> > 850, >> > _DATE_DMY, /* Date format: 0/1/2: >> > U.S.A./Europe/Japan */ >> > "EUR", /* '$' ,'EUR' */ >> > ".", /* ',' # Thousand's separator */ >> > "'", /* Decimal point - by aitor */ >> > "-", /* '-' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 0, /* = 0 # Currency format (bit array) */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_24 /* = 0 # time format: 0/1: 12/24 houres */ >> > } >> > >> > /* Hungary */ ,{ >> > 36, /* = W1 W437 # Country ID & Codepage */ >> > 850, >> > _DATE_DMY, /* Date format: 0/1/2: >> > U.S.A./Europe/Japan */ >> > "$HU", /* '$' ,'EUR' */ >> > ".", /* ',' # Thousand's separator */ >> > ",", /* '.' # Decimal point */ >> > "-", /* '-' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 0, /* = 0 # Currency format (bit array) */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_24 /* = 0 # time format: 0/1: 12/24 houres */ >> > } >> > >> > /* Yugoslavia */ ,{ >> > 38, /* = W1 W437 # Country ID & Codepage */ >> > 850, >> > _DATE_DMY, /* Date format: 0/1/2: >> > U.S.A./Europe/Japan */ >> > "$YU", /* '$' ,'EUR' */ >> > ".", /* ',' # Thousand's separator */ >> > ",", /* '.' # Decimal point */ >> > "-", /* '-' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 0, /* = 0 # Currency format (bit array) */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_24 /* = 0 # time format: 0/1: 12/24 houres */ >> > } >> > >> > /* Italy */ ,{ >> > 39, /* = W1 W437 # Country ID & Codepage */ >> > 850, >> > _DATE_DMY, /* Date format: 0/1/2: >> > U.S.A./Europe/Japan */ >> > "EUR", /* '$' ,'EUR' */ >> > ".", /* ',' # Thousand's separator */ >> > ",", /* '.' # Decimal point */ >> > "-", /* '-' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 0, /* = 0 # Currency format (bit array) */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_24 /* = 0 # time format: 0/1: 12/24 houres */ >> > } >> > >> > /* Switzerland */ ,{ >> > 41, /* = W1 W437 # Country ID & Codepage */ >> > 850, >> > _DATE_DMY, /* Date format: 0/1/2: >> > U.S.A./Europe/Japan */ >> > "SF", /* '$' ,'EUR' */ >> > ".", /* ',' # Thousand's separator */ >> > ",", /* '.' # Decimal point */ >> > ".", /* '-' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 0, /* = 0 # Currency format (bit array) */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_24 /* = 0 # time format: 0/1: 12/24 houres */ >> > } >> > >> > /* Czechoslovakia */ ,{ >> > 42, /* = W1 W437 # Country ID & Codepage */ >> > 850, >> > _DATE_YMD, /* Date format: 0/1/2: >> > U.S.A./Europe/Japan */ >> > "$YU", /* '$' ,'EUR' */ >> > ".", /* ',' # Thousand's separator */ >> > ",", /* '.' # Decimal point */ >> > ".", /* '-' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 0, /* = 0 # Currency format (bit array) */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_24 /* = 0 # time format: 0/1: 12/24 houres */ >> > } >> > >> > /* UK */ ,{ >> > 44, /* = W1 W437 # Country ID & Codepage */ >> > 850, >> > _DATE_DMY, /* Date format: 0/1/2: >> > U.S.A./Europe/Japan */ >> > "\x9c", /* Pound sign */ >> > ".", /* ',' # Thousand's separator */ >> > ",", /* '.' # Decimal point */ >> > "/", /* '-' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 0, /* = 0 # Currency format (bit array) */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_24 /* = 0 # time format: 0/1: 12/24 houres */ >> > } >> > >> > /* Denmark */ ,{ >> > 45, /* = W1 W437 # Country ID & Codepage */ >> > 850, >> > _DATE_DMY, /* Date format: 0/1/2: >> > U.S.A./Europe/Japan */ >> > "DKK", /* */ >> > ".", /* ',' # Thousand's separator */ >> > ",", /* '.' # Decimal point */ >> > "-", /* '-' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 0, /* = 0 # Currency format (bit array) */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_24 /* = 0 # time format: 0/1: 12/24 houres */ >> > } >> > /* Sweden */ ,{ >> > 46, /* = W1 W437 # Country ID & Codepage */ >> > 850, >> > _DATE_YMD, /* Date format: 0/1/2: >> > U.S.A./Europe/Japan */ >> > "SEK", /* */ >> > ",", /* ',' # Thousand's separator */ >> > ".", /* '.' # Decimal point */ >> > "-", /* '-' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 0, /* = 0 # Currency format (bit array) */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_24 /* = 0 # time format: 0/1: 12/24 houres */ >> > } >> > >> > /* Norway */ ,{ >> > 47, /* = W1 W437 # Country ID & Codepage */ >> > 850, >> > _DATE_DMY, /* Date format: 0/1/2: >> > U.S.A./Europe/Japan */ >> > "NOK", /* */ >> > ",", /* ',' # Thousand's separator */ >> > ".", /* '.' # Decimal point */ >> > ".", /* '-' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 0, /* = 0 # Currency format (bit array) */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_24 /* = 0 # time format: 0/1: 12/24 houres */ >> > } >> > >> > /* Poland */ ,{ >> > 48, /* = W1 W437 # Country ID & Codepage */ >> > 850, >> > _DATE_YMD, /* Date format: 0/1/2: >> > U.S.A./Europe/Japan */ >> > "PLN", /* michael tyc: PLN means PoLish New >> > zloty, I think) */ >> > ",", /* ',' # Thousand's separator */ >> > ".", /* '.' # Decimal point */ >> > ".", /* '-' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 0, /* = 0 # Currency format (bit array) */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_24 /* = 0 # time format: 0/1: 12/24 houres */ >> > } >> > >> > /* GERMAN */ ,{ >> > 49, /* = W1 W437 # Country ID & Codepage */ >> > 850, >> > _DATE_DMY, /* Date format: 0/1/2: >> > U.S.A./Europe/Japan */ >> > "EUR", /* '$' ,'EUR' */ >> > ".", /* ',' # Thousand's separator */ >> > ",", /* '.' # Decimal point */ >> > ".", /* '-' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 1, /* = 0 # Currency format (bit array) */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_24 /* = 0 # time format: 0/1: 12/24 houres */ >> > } >> > >> > /* Argentina */ ,{ >> > 54, /* = W1 W437 # Country ID & Codepage */ >> > 850, >> > _DATE_DMY, /* Date format: 0/1/2: >> > U.S.A./Europe/Japan */ >> > "$ar", /* '$' ,'EUR' */ >> > ".", /* ',' # Thousand's separator */ >> > ",", /* '.' # Decimal point */ >> > "/", /* '-' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 1, /* = 0 # Currency format (bit array) */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_12 /* = 0 # time format: 0/1: 12/24 houres */ >> > } >> >> > /* Brazil */ ,{ >> > 55, /* = W1 W437 # Country ID & Codepage */ >> > 850, >> > _DATE_DMY, /* Date format: 0/1/2: >> > U.S.A./Europe/Japan */ >> > "$ar", /* '$' ,'EUR' */ >> > ".", /* ',' # Thousand's separator */ >> > ",", /* '.' # Decimal point */ >> > "/", /* '-' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 1, /* = 0 # Currency format (bit array) */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_24 /* = 0 # time format: 0/1: 12/24 houres */ >> > } >> > >> > /* International English */ ,{ >> > 61, /* = W1 W437 # Country ID & Codepage */ >> > 850, >> > _DATE_MDY, /* Date format: 0/1/2: >> > U.S.A./Europe/Japan */ >> > "$", /* '$' ,'EUR' */ >> > ".", /* ',' # Thousand's separator */ >> > ",", /* '.' # Decimal point */ >> > "/", /* '-' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 0, /* = 0 # Currency format (bit array) */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_24 /* = 0 # time format: 0/1: 12/24 houres */ >> > } >> >> > /* Japan - Yuki Mitsui */ ,{ >> > 81, /* = W1 W437 # Country ID & Codepage */ >> > 932, >> > _DATE_YMD, /* Date format: >> > 0/1/2:U.S.A./Europe/Japan */ >> > "\x81\x8f", /* '$' ,'EUR' */ >> > ",", /* ',' # Thousand's separator */ >> > ".", /* '.' # Decimal point */ >> > "/", /* '-' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 0, /* = 0 # Currency format (bit array) */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_12 /* = 0 # time format: 0/1: 12/24 houres >> > */ >> > } >> >> > /* Portugal */ ,{ >> > 351, /* = W1 W437 # Country ID & Codepage */ >> > 850, >> > _DATE_DMY, /* Date format: 0/1/2: >> > U.S.A./Europe/Japan */ >> > "EUR", /* '$' ,'EUR' */ >> > ".", /* ',' # Thousand's separator */ >> > ",", /* '.' # Decimal point */ >> > "-", /* '-' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 0, /* = 0 # Currency format (bit array) */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_24 /* = 0 # time format: 0/1: 12/24 houres */ >> > } >> >> > /* Finland - by wolf */ ,{ >> > 358, /* = W1 W437 # Country ID & Codepage */ >> > 850, >> > _DATE_DMY, /* Date format: 0/1/2: >> > U.S.A./Europe/Japan */ >> > "EUR", /* '$' ,'EUR' */ >> > " ", /* ',' # Thousand's separator */ >> > ",", /* '.' # Decimal point */ >> > ".", /* '-' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 0x3, /* # Currency format (bit array) */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_24 /* = 0 # time format: 0/1: 12/24 hours */ >> > } >> >> > /* Bulgaria - by Luchezar Georgiev */ ,{ >> > 359, /* = W1 W437 # Country ID & Codepage */ >> > 855, >> > _DATE_DMY, /* Date format: 0/1/2: >> > U.S.A./Europe/Japan */ >> > "BGL", /* '$' ,'EUR' */ >> > " ", /* ',' # Thousand's separator */ >> > ",", /* '.' # Decimal point */ >> > ".", /* '-' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 3, /* # Currency format (bit array) */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_24 /* = 0 # time format: 0/1: 12/24 hours */ >> > } >> >> > /* Ukraine - by Oleg Deribas */ ,{ >> > 380, /* = W380 W848 # Country ID & Codepage */ >> > 848, >> > _DATE_DMY, /* Date format: 0/1/2: U.S.A./Europe/Japan */ >> > "UAH", /* Currency */ >> > " ", /* ' ' # Thousand's separator */ >> > ",", /* ',' # Decimal point */ >> > ".", /* '.' DateSeparator */ >> > ":", /* ':' TimeSeparator */ >> > 3, /* = 3 # Currency format (bit array) */ >> > 2, /* = 2 # Currency precision */ >> > _TIME_24 /* = 1 # time format: 0/1: 12/24 houres */ >> > } >> >> > }; >> >> ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user