Author: akhaldi
Date: Tue Sep 3 12:44:48 2013
New Revision: 59975
URL:
http://svn.reactos.org/svn/reactos?rev=59975&view=rev
Log:
[KERNEL32]
* "Fix" the VS build when the default code page is a MBCS (Chinese version). For
some reasons, the MSVC resource compiler ignores the #pragma code_page inside the included
nls files. Brought to you by Yuntian Zhang.
CORE-7420 #resolve #comment Committed in r59975. Cheers.
Modified:
trunk/reactos/dll/win32/kernel32/winnls/locale_rc.rc
Modified: trunk/reactos/dll/win32/kernel32/winnls/locale_rc.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/winnls/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/winnls/locale_rc.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/winnls/locale_rc.rc [iso-8859-1] Tue Sep 3 12:44:48
2013
@@ -27,211 +27,349 @@
/* add languages in numerical order of main language (last two digits)
* it is much easier to find the missing holes that way */
+#pragma code_page(1256)
#include "nls/ara.nls" /* 0x0401 LANG_ARABIC, SUBLANG_ARABIC_SAUDI_ARABIA
*/
+#pragma code_page(1256)
#include "nls/ari.nls" /* 0x0801 LANG_ARABIC, SUBLANG_ARABIC_IRAQ */
+#pragma code_page(1256)
#include "nls/are.nls" /* 0x0c01 LANG_ARABIC, SUBLANG_ARABIC_EGYPT */
+#pragma code_page(1256)
#include "nls/arl.nls" /* 0x1001 LANG_ARABIC, SUBLANG_ARABIC_LIBYA */
+#pragma code_page(1256)
#include "nls/arg.nls" /* 0x1401 LANG_ARABIC, SUBLANG_ARABIC_ALGERIA */
+#pragma code_page(1256)
#include "nls/arm.nls" /* 0x1801 LANG_ARABIC, SUBLANG_ARABIC_MOROCCO */
+#pragma code_page(1256)
#include "nls/art.nls" /* 0x1c01 LANG_ARABIC, SUBLANG_ARABIC_TUNISIA */
+#pragma code_page(1256)
#include "nls/aro.nls" /* 0x2001 LANG_ARABIC, SUBLANG_ARABIC_OMAN */
+#pragma code_page(1256)
#include "nls/ary.nls" /* 0x2401 LANG_ARABIC, SUBLANG_ARABIC_YEMEN */
+#pragma code_page(1256)
#include "nls/ars.nls" /* 0x2801 LANG_ARABIC, SUBLANG_ARABIC_SYRIA */
+#pragma code_page(1256)
#include "nls/arj.nls" /* 0x2c01 LANG_ARABIC, SUBLANG_ARABIC_JORDAN */
+#pragma code_page(1256)
#include "nls/arb.nls" /* 0x3001 LANG_ARABIC, SUBLANG_ARABIC_LEBANON */
+#pragma code_page(1256)
#include "nls/ark.nls" /* 0x3401 LANG_ARABIC, SUBLANG_ARABIC_KUWAIT */
+#pragma code_page(1256)
#include "nls/aru.nls" /* 0x3801 LANG_ARABIC, SUBLANG_ARABIC_UAE */
+#pragma code_page(1256)
#include "nls/arh.nls" /* 0x3c01 LANG_ARABIC, SUBLANG_ARABIC_BAHRAIN */
+#pragma code_page(1256)
#include "nls/arq.nls" /* 0x4001 LANG_ARABIC, SUBLANG_ARABIC_QATAR */
+#pragma code_page(1251)
#include "nls/bgr.nls" /* 0x0402 LANG_BULGARIAN, SUBLANG_DEFAULT */
+#pragma code_page(1252)
#include "nls/cat.nls" /* 0x0403 LANG_CATALAN, SUBLANG_DEFAULT */
+#pragma code_page(950)
#include "nls/cht.nls" /* 0x0404 LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
*/
+#pragma code_page(936)
#include "nls/chs.nls" /* 0x0804 LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
*/
+#pragma code_page(950)
#include "nls/zhh.nls" /* 0x0c04 LANG_CHINESE, SUBLANG_CHINESE_HONGKONG */
+#pragma code_page(936)
#include "nls/zhi.nls" /* 0x1004 LANG_CHINESE, SUBLANG_CHINESE_SINGAPORE */
+#pragma code_page(950)
#include "nls/zhm.nls" /* 0x1404 LANG_CHINESE, SUBLANG_CHINESE_MACAU */
+#pragma code_page(1250)
#include "nls/csy.nls" /* 0x0405 LANG_CZECH, SUBLANG_DEFAULT */
+#pragma code_page(1252)
#include "nls/dan.nls" /* 0x0406 LANG_DANISH, SUBLANG_DEFAULT */
+#pragma code_page(1252)
#include "nls/deu.nls" /* 0x0407 LANG_GERMAN, SUBLANG_GERMAN */
+#pragma code_page(1252)
#include "nls/des.nls" /* 0x0807 LANG_GERMAN, SUBLANG_GERMAN_SWISS */
+#pragma code_page(1252)
#include "nls/dea.nls" /* 0x0c07 LANG_GERMAN, SUBLANG_GERMAN_AUSTRIAN */
+#pragma code_page(1252)
#include "nls/del.nls" /* 0x1007 LANG_GERMAN, SUBLANG_GERMAN_LUXEMBOURG */
+#pragma code_page(1252)
#include "nls/dec.nls" /* 0x1407 LANG_GERMAN, SUBLANG_GERMAN_LIECHTENSTEIN
*/
+#pragma code_page(1253)
#include "nls/ell.nls" /* 0x0408 LANG_GREEK, SUBLANG_DEFAULT */
+#pragma code_page(1252)
#include "nls/enu.nls" /* 0x0409 LANG_ENGLISH, SUBLANG_ENGLISH_US */
+#pragma code_page(1252)
#include "nls/eng.nls" /* 0x0809 LANG_ENGLISH, SUBLANG_ENGLISH_UK */
+#pragma code_page(1252)
#include "nls/ena.nls" /* 0x0c09 LANG_ENGLISH, SUBLANG_ENGLISH_AUS */
+#pragma code_page(1252)
#include "nls/enc.nls" /* 0x1009 LANG_ENGLISH, SUBLANG_ENGLISH_CAN */
+#pragma code_page(1252)
#include "nls/enz.nls" /* 0x1409 LANG_ENGLISH, SUBLANG_ENGLISH_NZ */
+#pragma code_page(1252)
#include "nls/eni.nls" /* 0x1809 LANG_ENGLISH, SUBLANG_ENGLISH_EIRE */
+#pragma code_page(1252)
#include "nls/ens.nls" /* 0x1c09 LANG_ENGLISH, SUBLANG_ENGLISH_SOUTH_AFRICA
*/
+#pragma code_page(1252)
#include "nls/enj.nls" /* 0x2009 LANG_ENGLISH, SUBLANG_ENGLISH_JAMAICA */
+#pragma code_page(1252)
#include "nls/enb.nls" /* 0x2409 LANG_ENGLISH, SUBLANG_ENGLISH_CARIBBEAN */
+#pragma code_page(1252)
#include "nls/enl.nls" /* 0x2809 LANG_ENGLISH, SUBLANG_ENGLISH_BELIZE */
+#pragma code_page(1252)
#include "nls/ent.nls" /* 0x2c09 LANG_ENGLISH, SUBLANG_ENGLISH_TRINIDAD */
+#pragma code_page(1252)
#include "nls/enw.nls" /* 0x3009 LANG_ENGLISH, SUBLANG_ENGLISH_ZIMBABWE */
+#pragma code_page(1252)
#include "nls/enp.nls" /* 0x3409 LANG_ENGLISH, SUBLANG_ENGLISH_PHILIPPINES
*/
+#pragma code_page(1252)
#include "nls/esp.nls" /* 0x040a LANG_SPANISH, SUBLANG_SPANISH */
+#pragma code_page(1252)
#include "nls/esm.nls" /* 0x080a LANG_SPANISH, SUBLANG_SPANISH_MEXICAN */
+#pragma code_page(1252)
#include "nls/esn.nls" /* 0x0c0a LANG_SPANISH, SUBLANG_SPANISH_MODERN */
+#pragma code_page(1252)
#include "nls/esg.nls" /* 0x100a LANG_SPANISH, SUBLANG_SPANISH_GUATEMALA */
+#pragma code_page(1252)
#include "nls/esc.nls" /* 0x140a LANG_SPANISH, SUBLANG_SPANISH_COSTA_RICA
*/
+#pragma code_page(1252)
#include "nls/esa.nls" /* 0x180a LANG_SPANISH, SUBLANG_SPANISH_PANAMA */
+#pragma code_page(1252)
#include "nls/esd.nls" /* 0x1c0a LANG_SPANISH,
SUBLANG_SPANISH_DOMINICAN_REPUBLIC */
+#pragma code_page(1252)
#include "nls/esv.nls" /* 0x200a LANG_SPANISH, SUBLANG_SPANISH_VENEZUELA */
+#pragma code_page(1252)
#include "nls/eso.nls" /* 0x240a LANG_SPANISH, SUBLANG_SPANISH_COLOMBIA */
+#pragma code_page(1252)
#include "nls/esr.nls" /* 0x280a LANG_SPANISH, SUBLANG_SPANISH_PERU */
+#pragma code_page(1252)
#include "nls/ess.nls" /* 0x2c0a LANG_SPANISH, SUBLANG_SPANISH_ARGENTINA */
+#pragma code_page(1252)
#include "nls/esf.nls" /* 0x300a LANG_SPANISH, SUBLANG_SPANISH_ECUADOR */
+#pragma code_page(1252)
#include "nls/esl.nls" /* 0x340a LANG_SPANISH, SUBLANG_SPANISH_CHILE */
+#pragma code_page(1252)
#include "nls/esy.nls" /* 0x380a LANG_SPANISH, SUBLANG_SPANISH_URUGUAY */
+#pragma code_page(1252)
#include "nls/esz.nls" /* 0x3c0a LANG_SPANISH, SUBLANG_SPANISH_PARAGUAY */
+#pragma code_page(1252)
#include "nls/esb.nls" /* 0x400a LANG_SPANISH, SUBLANG_SPANISH_BOLIVIA */
+#pragma code_page(1252)
#include "nls/ese.nls" /* 0x440a LANG_SPANISH, SUBLANG_SPANISH_EL_SALVADOR
*/
+#pragma code_page(1252)
#include "nls/esh.nls" /* 0x480a LANG_SPANISH, SUBLANG_SPANISH_HONDURAS */
+#pragma code_page(1252)
#include "nls/esi.nls" /* 0x4c0a LANG_SPANISH, SUBLANG_SPANISH_NICARAGUA */
+#pragma code_page(1252)
#include "nls/esu.nls" /* 0x500a LANG_SPANISH, SUBLANG_SPANISH_PUERTO_RICO
*/
+#pragma code_page(1252)
#include "nls/fin.nls" /* 0x040b LANG_FINNISH, SUBLANG_DEFAULT */
+#pragma code_page(1252)
#include "nls/fra.nls" /* 0x040c LANG_FRENCH, SUBLANG_FRENCH */
+#pragma code_page(1252)
#include "nls/frb.nls" /* 0x080c LANG_FRENCH, SUBLANG_FRENCH_BELGIAN */
+#pragma code_page(1252)
#include "nls/frc.nls" /* 0x0c0c LANG_FRENCH, SUBLANG_FRENCH_CANADIAN */
+#pragma code_page(1252)
#include "nls/frs.nls" /* 0x100c LANG_FRENCH, SUBLANG_FRENCH_SWISS */
+#pragma code_page(1252)
#include "nls/frl.nls" /* 0x140c LANG_FRENCH, SUBLANG_FRENCH_LUXEMBOURG */
+#pragma code_page(1252)
#include "nls/frm.nls" /* 0x180c LANG_FRENCH, SUBLANG_FRENCH_MONACO */
+#pragma code_page(1255)
#include "nls/heb.nls" /* 0x040d LANG_HEBREW, SUBLANG_DEFAULT */
+#pragma code_page(1250)
#include "nls/hun.nls" /* 0x040e LANG_HUNGARIAN, SUBLANG_DEFAULT */
+#pragma code_page(1252)
#include "nls/isl.nls" /* 0x040f LANG_ICELANDIC, SUBLANG_DEFAULT */
+#pragma code_page(1252)
#include "nls/ita.nls" /* 0x0410 LANG_ITALIAN, SUBLANG_ITALIAN */
+#pragma code_page(1252)
#include "nls/its.nls" /* 0x0810 LANG_ITALIAN, SUBLANG_ITALIAN_SWISS */
+#pragma code_page(932)
#include "nls/jpn.nls" /* 0x0411 LANG_JAPANESE, SUBLANG_DEFAULT */
+#pragma code_page(949)
#include "nls/kor.nls" /* 0x0412 LANG_KOREAN, SUBLANG_KOREAN */
+#pragma code_page(1252)
#include "nls/nld.nls" /* 0x0413 LANG_DUTCH, SUBLANG_DUTCH */
+#pragma code_page(1252)
#include "nls/nlb.nls" /* 0x0813 LANG_DUTCH, SUBLANG_DUTCH_BELGIAN */
+#pragma code_page(1252)
#include "nls/nor.nls" /* 0x0414 LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
*/
+#pragma code_page(1252)
#include "nls/non.nls" /* 0x0814 LANG_NORWEGIAN, SUBLANG_NORWEGIAN_NYNORSK
*/
+#pragma code_page(1250)
#include "nls/plk.nls" /* 0x0415 LANG_POLISH, SUBLANG_DEFAULT */
+#pragma code_page(1252)
#include "nls/ptb.nls" /* 0x0416 LANG_PORTUGUESE,
SUBLANG_PORTUGUESE_BRAZILIAN */
+#pragma code_page(1252)
#include "nls/ptg.nls" /* 0x0816 LANG_PORTUGUESE, SUBLANG_PORTUGUESE */
+//#pragma code_page(1252)
//#include "nls/rmc.nls" /* 0x0417 LANG_ROMANSH, SUBLANG_ROMANSH_SWITZERLAND
*/
+#pragma code_page(65001)
#include "nls/rom.nls" /* 0x0418 LANG_ROMANIAN, SUBLANG_DEFAULT */
+#pragma code_page(65001)
#include "nls/rus.nls" /* 0x0419 LANG_RUSSIAN, SUBLANG_DEFAULT */
+#pragma code_page(1250)
#include "nls/hrv.nls" /* 0x041a LANG_SERBIAN, SUBLANG_DEFAULT */
+#pragma code_page(1250)
#include "nls/srl.nls" /* 0x081a LANG_SERBIAN, SUBLANG_SERBIAN_LATIN */
+#pragma code_page(1251)
#include "nls/srb.nls" /* 0x0c1a LANG_SERBIAN, SUBLANG_SERBIAN_CYRILLIC */
+#pragma code_page(1250)
#include "nls/sky.nls" /* 0x041b LANG_SLOVAK, SUBLANG_DEFAULT */
+#pragma code_page(1250)
#include "nls/sqi.nls" /* 0x041c LANG_ALBANIAN, SUBLANG_DEFAULT */
+#pragma code_page(1252)
#include "nls/sve.nls" /* 0x041d LANG_SWEDISH, SUBLANG_SWEDISH */
+#pragma code_page(1252)
#include "nls/svf.nls" /* 0x081d LANG_SWEDISH, SUBLANG_SWEDISH_FINLAND */
+#pragma code_page(874)
#include "nls/tha.nls" /* 0x041e LANG_THAI, SUBLANG_DEFAULT */
+#pragma code_page(1254)
#include "nls/trk.nls" /* 0x041f LANG_TURKISH, SUBLANG_DEFAULT */
+#pragma code_page(1256)
#include "nls/urd.nls" /* 0x0420 LANG_URDU, SUBLANG_URDU_PAKISTAN */
+#pragma code_page(1252)
#include "nls/ind.nls" /* 0x0421 LANG_INDONESIAN, SUBLANG_DEFAULT */
+#pragma code_page(1251)
#include "nls/ukr.nls" /* 0x0422 LANG_UKRAINIAN, SUBLANG_DEFAULT */
+#pragma code_page(1251)
#include "nls/bel.nls" /* 0x0423 LANG_BELARUSIAN, SUBLANG_DEFAULT */
+#pragma code_page(1250)
#include "nls/slv.nls" /* 0x0424 LANG_SLOVENIAN, SUBLANG_DEFAULT */
+#pragma code_page(1257)
#include "nls/eti.nls" /* 0x0425 LANG_ESTONIAN, SUBLANG_DEFAULT */
+#pragma code_page(1257)
#include "nls/lvi.nls" /* 0x0426 LANG_LATVIAN, SUBLANG_DEFAULT */
+#pragma code_page(65001)
#include "nls/lth.nls" /* 0x0427 LANG_LITHUANIAN, SUBLANG_LITHUANIAN */
+#pragma code_page(1256)
#include "nls/far.nls" /* 0x0429 LANG_FARSI, SUBLANG_DEFAULT */
+#pragma code_page(1258)
#include "nls/vit.nls" /* 0x042a LANG_VIETNAMESE, SUBLANG_DEFAULT */
+#pragma code_page(65001)
#include "nls/hye.nls" /* 0x042b LANG_ARMENIAN, SUBLANG_DEFAULT */
+#pragma code_page(1254)
#include "nls/azl.nls" /* 0x042c LANG_AZERI, SUBLANG_AZERI_LATIN */
+#pragma code_page(1251)
#include "nls/aze.nls" /* 0x082c LANG_AZERI, SUBLANG_AZERI_CYRILLIC */
+#pragma code_page(1252)
#include "nls/euq.nls" /* 0x042d LANG_BASQUE, SUBLANG_DEFAULT */
+#pragma code_page(1251)
#include "nls/mki.nls" /* 0x042f LANG_MACEDONIAN, SUBLANG_DEFAULT */
+#pragma code_page(1252)
#include "nls/afk.nls" /* 0x0436 LANG_AFRIKAANS, SUBLANG_DEFAULT */
+#pragma code_page(65001)
#include "nls/kat.nls" /* 0x0437 LANG_GEORGIAN, SUBLANG_DEFAULT */
+#pragma code_page(1252)
#include "nls/fos.nls" /* 0x0438 LANG_FAEROESE, SUBLANG_DEFAULT */
+#pragma code_page(65001)
#include "nls/hin.nls" /* 0x0439 LANG_HINDI, SUBLANG_DEFAULT */
+#pragma code_page(1252)
#include "nls/msl.nls" /* 0x043e LANG_MALAY, SUBLANG_MALAY_MALAYSIA */
+#pragma code_page(1252)
#include "nls/msb.nls" /* 0x083e LANG_MALAY, SUBLANG_MALAY_BRUNEI_DARUSSALAM
*/
+#pragma code_page(1251)
#include "nls/kkz.nls" /* 0x043f LANG_KAZAK, SUBLANG_DEFAULT */
+#pragma code_page(1251)
#include "nls/kyr.nls" /* 0x0440 LANG_KYRGYZ, SUBLANG_DEFAULT */
+#pragma code_page(1252)
#include "nls/swk.nls" /* 0x0441 LANG_SWAHILI, SUBLANG_DEFAULT */
+#pragma code_page(1254)
#include "nls/uzl.nls" /* 0x0443 LANG_UZBEK, SUBLANG_UZBEK_LATIN */
+#pragma code_page(1251)
#include "nls/uzb.nls" /* 0x0843 LANG_UZBEK, SUBLANG_UZBEK_CYRILLIC */
+#pragma code_page(1251)
#include "nls/ttt.nls" /* 0x0444 LANG_TATAR, SUBLANG_DEFAULT */
+#pragma code_page(65001)
#include "nls/pan.nls" /* 0x0446 LANG_PUNJABI, SUBLANG_DEFAULT */
+#pragma code_page(65001)
#include "nls/guj.nls" /* 0x0447 LANG_GUJARATI, SUBLANG_DEFAULT */
+#pragma code_page(65001)
#include "nls/tam.nls" /* 0x0449 LANG_TAMIL, SUBLANG_DEFAULT */
+#pragma code_page(65001)
#include "nls/tel.nls" /* 0x044a LANG_TELUGU, SUBLANG_DEFAULT */
+#pragma code_page(65001)
#include "nls/kan.nls" /* 0x044b LANG_KANNADA, SUBLANG_DEFAULT */
+#pragma code_page(65001)
#include "nls/mar.nls" /* 0x044e LANG_MARATHI, SUBLANG_DEFAULT */
+#pragma code_page(65001)
#include "nls/san.nls" /* 0x044f LANG_SANSKRIT, SUBLANG_DEFAULT */
+#pragma code_page(1251)
#include "nls/mon.nls" /* 0x0450 LANG_MONGOLIAN, SUBLANG_DEFAULT */
+//#pragma code_page(28604)
//#include "nls/cym.nls" /* 0x0452 LANG_WELSH, SUBLANG_DEFAULT */
+#pragma code_page(1252)
#include "nls/glc.nls" /* 0x0456 LANG_GALICIAN, SUBLANG_DEFAULT */
+#pragma code_page(65001)
#include "nls/knk.nls" /* 0x0457 LANG_KONKANI, SUBLANG_DEFAULT */
+#pragma code_page(65001)
#include "nls/syr.nls" /* 0x045a LANG_SYRIAC, SUBLANG_DEFAULT */
+#pragma code_page(65001)
#include "nls/div.nls" /* 0x0465 LANG_DIVEHI, SUBLANG_DEFAULT */
+//#pragma code_page(1252)
//#include "nls/brf.nls" /* 0x0493 LANG_BRETON, SUBLANG_DEFAULT */