From 122f56bc10091c3f58dbe85e73847b3009bff9f5 Mon Sep 17 00:00:00 2001 From: lecoanet Date: Fri, 30 Apr 2004 11:39:22 +0000 Subject: New encoding files --- generic/CharsetISO8859-15.h | 18 ++++++++++++++++++ generic/CharsetUTF8.h | 25 +++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 generic/CharsetISO8859-15.h create mode 100644 generic/CharsetUTF8.h (limited to 'generic') diff --git a/generic/CharsetISO8859-15.h b/generic/CharsetISO8859-15.h new file mode 100644 index 0000000..1dbf21e --- /dev/null +++ b/generic/CharsetISO8859-15.h @@ -0,0 +1,18 @@ +/* + * These chars are those found in iso8859-15. + * They are encoded in iso8859-15 right in this file and sorted + * by ascending value, _keep_ them sorted this way, a dichotomic + * search rely on this to locate the glyphs and infos. + */ +static unsigned char *ZnDefaultCharset = + " !\"#$%&'()*+,-./" + "0123456789" + ":;<=>?@" + "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + "[\\]^_`" + "abcdefghijklmnopqrstuvwxyz" + "{|}~" + "" + "" + "" + ""; diff --git a/generic/CharsetUTF8.h b/generic/CharsetUTF8.h new file mode 100644 index 0000000..9fee91e --- /dev/null +++ b/generic/CharsetUTF8.h @@ -0,0 +1,25 @@ +/* + * These chars are those found in iso8859-15 and iso8859-1. + * They are encoded in UTF8 right in this file and sorted + * by Unicode point, _keep_ them sorted this way, a dichotomic + * search rely on this to locate the glyphs and infos. + */ +static unsigned char *ZnDefaultCharset = + " !\"#$%&'()*+,-./" + "0123456789" + ":;<=>?@" + "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + "[\\]^_`" + "abcdefghijklmnopqrstuvwxyz" + "{|}~" + "¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿" + "ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞß" + "àáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ" + "ŒœŠšŸŽž€"; + +/* + * Local Variables: + * coding: utf-8 + * End: + * + */ -- cgit v1.1