Francois Gouget : make_unicode: Add support for the 720 codepage (Arabic, Farsi and Urdu).

Alexandre Julliard julliard at winehq.org
Tue Oct 26 09:40:30 CDT 2021


Module: wine
Branch: stable
Commit: cd5311958c719e948105822ad11cbac02de7e010
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=cd5311958c719e948105822ad11cbac02de7e010

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Tue Jun  8 12:30:57 2021 +0200

make_unicode: Add support for the 720 codepage (Arabic, Farsi and Urdu).

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit a1bae9f288a53d21a60dca5460b376a493585e07)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 dlls/kernelbase/kernelbase.rgs |   1 +
 dlls/kernelbase/locale.c       |   1 +
 loader/wine.inf.in             |   1 +
 nls/Makefile.in                |   1 +
 nls/c_720.nls                  | Bin 0 -> 66594 bytes
 tools/make_unicode             |   1 +
 6 files changed, 5 insertions(+)

diff --git a/dlls/kernelbase/kernelbase.rgs b/dlls/kernelbase/kernelbase.rgs
index 0d9dbd29c43..7b63b681f53 100644
--- a/dlls/kernelbase/kernelbase.rgs
+++ b/dlls/kernelbase/kernelbase.rgs
@@ -57,6 +57,7 @@ HKLM
                         val '437' = s 'c_437.nls'
                         val '500' = s 'c_500.nls'
                         val '708' = s 'c_708.nls'
+                        val '720' = s 'c_720.nls'
                         val '737' = s 'c_737.nls'
                         val '775' = s 'c_775.nls'
                         val '850' = s 'c_850.nls'
diff --git a/dlls/kernelbase/locale.c b/dlls/kernelbase/locale.c
index a2925c5203d..250c81de5e4 100644
--- a/dlls/kernelbase/locale.c
+++ b/dlls/kernelbase/locale.c
@@ -108,6 +108,7 @@ static const struct { UINT cp; const WCHAR *name; } codepage_names[] =
     { 437,   L"OEM United States" },
     { 500,   L"IBM EBCDIC International" },
     { 708,   L"Arabic ASMO" },
+    { 720,   L"Arabic (Transparent ASMO)" },
     { 737,   L"OEM Greek 437G" },
     { 775,   L"OEM Baltic" },
     { 850,   L"OEM Multilingual Latin 1" },
diff --git a/loader/wine.inf.in b/loader/wine.inf.in
index 8e5798f754b..d3199d167f3 100644
--- a/loader/wine.inf.in
+++ b/loader/wine.inf.in
@@ -4125,6 +4125,7 @@ c_28605.nls
 c_437.nls
 c_500.nls
 c_708.nls
+c_720.nls
 c_737.nls
 c_775.nls
 c_850.nls
diff --git a/nls/Makefile.in b/nls/Makefile.in
index 4352becac5f..456822aaa83 100644
--- a/nls/Makefile.in
+++ b/nls/Makefile.in
@@ -46,6 +46,7 @@ SOURCES = \
 	c_437.nls \
 	c_500.nls \
 	c_708.nls \
+	c_720.nls \
 	c_737.nls \
 	c_775.nls \
 	c_850.nls \
diff --git a/nls/c_720.nls b/nls/c_720.nls
new file mode 100644
index 00000000000..8d3d950e70a
Binary files /dev/null and b/nls/c_720.nls differ
diff --git a/tools/make_unicode b/tools/make_unicode
index 69ce845b26a..5afc11ec68c 100755
--- a/tools/make_unicode
+++ b/tools/make_unicode
@@ -46,6 +46,7 @@ my @allfiles =
     "CodpageFiles/437.txt",
     "CodpageFiles/500.txt",
     "CodpageFiles/708.txt",
+    "CodpageFiles/720.txt",
     "CodpageFiles/737.txt",
     "CodpageFiles/775.txt",
     "CodpageFiles/850.txt",




More information about the wine-cvs mailing list