CAL_MONTH_FRENCH
};
-/* for heb_number_to_chars */
-static char alef_bet[25] = "0àáâãäåæçèéëìîðñòôö÷øùú";
+/* For heb_number_to_chars escape sequences of אבגדהוזחטיכלמנסעפצקרשת
+ ISO-8859-8 Hebrew alphabet */
+static char alef_bet[25] = "0\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEB\xEC\xEE\xF0\xF1\xF2\xF4\xF6\xF7\xF8\xF9\xFA";
#define CAL_JEWISH_ADD_ALAFIM_GERESH 0x2
#define CAL_JEWISH_ADD_ALAFIM 0x4
/* {{{ heb_number_to_chars*/
/*
caution: the Hebrew format produces non unique result.
-for example both: year '5' and year '5000' produce 'ä'.
+for example both: year '5' and year '5000' produce 'ה'.
use the numeric one for calculations.
*/
static char *heb_number_to_chars(int n, int fl, char **ret)
p++;
}
if (CAL_JEWISH_ADD_ALAFIM & fl) {
- strcpy(p, " àìôéí ");
+ /* Escape sequences of Hebrew characters in ISO-8859-8: אלפים */
+ strcpy(p, " \xE0\xEC\xF4\xE9\xED ");
p += 7;
}