"Kimmo Myllyvirta" <kimmo.myllyvirta(a)gmail.com> wrote:
MSDN; user defined codepage is 50000 (0x0000C350)
Changelog: Add CP_USER (codepage 50000) to winnls.h, fixes a fixme in shlwapi
--- include/winnls.h 26 Nov 2003 04:11:56 -0000 1.48 +++ include/winnls.h 27 Oct 2005 16:06:58 -0000 @@ -282,6 +282,7 @@ #define CP_MACCP 2 #define CP_THREAD_ACP 3 #define CP_SYMBOL 42 +#define CP_USER 50000
Where did you find it? PSDK doesn't have this. -- Dmitry.
Dmitry Timoshkov wrote:
"Kimmo Myllyvirta" <kimmo.myllyvirta(a)gmail.com> wrote:
MSDN; user defined codepage is 50000 (0x0000C350)
Changelog: Add CP_USER (codepage 50000) to winnls.h, fixes a fixme in shlwapi
--- include/winnls.h 26 Nov 2003 04:11:56 -0000 1.48 +++ include/winnls.h 27 Oct 2005 16:06:58 -0000 @@ -282,6 +282,7 @@ #define CP_MACCP 2 #define CP_THREAD_ACP 3 #define CP_SYMBOL 42 +#define CP_USER 50000
Where did you find it? PSDK doesn't have this.
|Search MSDN for "codepage 50000" (google for more information). CP_USER is not defined in PSDK (it's "wine extension", like CP_UNIXCP)| User defined codepage is apparently used only by windows, and to be more specific, IE - see for example; http://msdn.microsoft.com/workshop/author/dhtml/reference/charsets/charset4....
"Kimmo Myllyvirta" <kimmo.myllyvirta(a)gmail.com> wrote:
+#define CP_USER 50000
Where did you find it? PSDK doesn't have this.
|Search MSDN for "codepage 50000" (google for more information). CP_USER is not defined in PSDK (it's "wine extension", like CP_UNIXCP)|
If you add it as a Wine extension it should be clearly defined like it, with at least proper comment. And you can't invent Wine extensions for things like this this one. -- Dmitry.
Rather than adding it to header file, we better handle this in the winnls code, to handle all other codepages that are listed in the msdn. Thanks and Regards, Vijay On 10/28/05, Dmitry Timoshkov <dmitry(a)baikal.ru> wrote:
"Kimmo Myllyvirta" <kimmo.myllyvirta(a)gmail.com> wrote:
+#define CP_USER 50000
Where did you find it? PSDK doesn't have this.
|Search MSDN for "codepage 50000" (google for more information). CP_USER is not defined in PSDK (it's "wine extension", like CP_UNIXCP)|
If you add it as a Wine extension it should be clearly defined like it, with at least proper comment. And you can't invent Wine extensions for things like this this one.
-- Dmitry.
"Vijay Kiran Kamuju" <infyquest(a)gmail.com> wrote:
Rather than adding it to header file, we better handle this in the winnls code, to handle all other codepages that are listed in the msdn.
winnls has nothing to do with all these code pages, we have libs/unicode for that. -- Dmitry.
Hi Dimitry, little off topic, does wine unicode support indic charectors. if so how did you generate all the cp_xxx.c files. I would like to contribute indic code pages, if possible Thanks, Vijay On 10/28/05, Dmitry Timoshkov <dmitry(a)baikal.ru> wrote:
"Vijay Kiran Kamuju" <infyquest(a)gmail.com> wrote:
Rather than adding it to header file, we better handle this in the winnls code, to handle all other codepages that are listed in the msdn.
winnls has nothing to do with all these code pages, we have libs/unicode for that.
-- Dmitry.
"Vijay Kiran Kamuju" <infyquest(a)gmail.com> wrote:
little off topic, does wine unicode support indic charectors. if so how did you generate all the cp_xxx.c files. I would like to contribute indic code pages, if possible
Wine has everything unicode.org published. Each particular cp_xxxx.c file has a comment at the very first lines which tells from which source it has been built by cpmap.pl. -- Dmitry.
Hi Dimitry, The cpmap.pl tries to use the file system to look for the mapping files. And there have been updates to the mapping files, new mapping files added. Is it possible to use any other way? Well im trying to add the new codepages to cpmap.pl, could you please try those for DEVANAGARI (CP = 57002) use http://ftp.unicode.org/Public/MAPPINGS/VENDORS/APPLE/DEVANAGA.TXT for GUJRATHI (CP = 57010) use http://ftp.unicode.org/Public/MAPPINGS/VENDORS/APPLE/GUJARATI.TXT for GURUMUKHI/PANJABI (CP = 57011) use http://ftp.unicode.org/Public/MAPPINGS/VENDORS/APPLE/GURMUKHI.TXT I will also try to find the implementations for other indic code pages. and also http://ftp.unicode.org/Public/UNIDATA/UnicodeData.txt has been updated. Thanks, Vijay On 10/28/05, Dmitry Timoshkov <dmitry(a)baikal.ru> wrote:
"Vijay Kiran Kamuju" <infyquest(a)gmail.com> wrote:
little off topic, does wine unicode support indic charectors. if so how did you generate all the cp_xxx.c files. I would like to contribute indic code pages, if possible
Wine has everything unicode.org published. Each particular cp_xxxx.c file has a comment at the very first lines which tells from which source it has been built by cpmap.pl.
-- Dmitry.
participants (3)
-
Dmitry Timoshkov -
Kimmo Myllyvirta -
Vijay Kiran Kamuju