From c68745c51bff62ef35c2c1d3b1f1ea61c18e3d7c Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Wed, 13 Feb 2008 21:40:47 +0100 Subject: [PATCH] UTF-8 resource files must explicitly say so with a pragma. --- dlls/credui/credui_Es.rc | 3 +++ dlls/credui/credui_Fr.rc | 3 +++ dlls/crypt32/crypt32_Sv.rc | 3 +++ dlls/gphoto2.ds/gphoto2_Es.rc | 3 +++ dlls/localui/ui_Fr.rc | 3 +++ dlls/sane.ds/sane_Es.rc | 3 +++ programs/net/Fr.rc | 3 +++ programs/wineboot/wineboot_Es.rc | 3 +++ programs/wineboot/wineboot_Fr.rc | 3 +++ programs/write/Fr.rc | 3 +++ programs/xcopy/Fr.rc | 3 +++ 11 files changed, 33 insertions(+) diff --git a/dlls/credui/credui_Es.rc b/dlls/credui/credui_Es.rc index 821d8ddbb1e..7227627e63d 100644 --- a/dlls/credui/credui_Es.rc +++ b/dlls/credui/credui_Es.rc @@ -17,6 +17,7 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#pragma code_page(65001) LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL @@ -48,3 +49,5 @@ STRINGTABLE DISCARDABLE IDS_CAPSLOCKONTITLE "Bloq Mayus está activado" IDS_CAPSLOCKON "El Bloq Mayus activado puede hacer que entre su contraseña incorrectamente.\n\nPulse la tecla Bloq Mayus de su teclado para desactivar Bloq Mayus antes\n de introducir su contraseña." } + +#pragma code_page(default) diff --git a/dlls/credui/credui_Fr.rc b/dlls/credui/credui_Fr.rc index c1d71d4b5e4..468eb1c2465 100644 --- a/dlls/credui/credui_Fr.rc +++ b/dlls/credui/credui_Fr.rc @@ -17,6 +17,7 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#pragma code_page(65001) LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL @@ -48,3 +49,5 @@ STRINGTABLE DISCARDABLE IDS_CAPSLOCKONTITLE "VERR.MAJ est activé" IDS_CAPSLOCKON "Le verrouillage majuscule étant activé, cela pourrait provoquer une erreur lors de la saisie de votre mot de passe.\n\nAppuyez sur la touche VERR.MAJ de votre clavier afin de désactiver le verrouilage majuscule avant\nde saisir votre mot de passe." } + +#pragma code_page(default) diff --git a/dlls/crypt32/crypt32_Sv.rc b/dlls/crypt32/crypt32_Sv.rc index 132b7b7df23..33167d1f1fb 100644 --- a/dlls/crypt32/crypt32_Sv.rc +++ b/dlls/crypt32/crypt32_Sv.rc @@ -17,6 +17,7 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#pragma code_page(65001) LANGUAGE LANG_SWEDISH, SUBLANG_DEFAULT @@ -164,3 +165,5 @@ STRINGTABLE DISCARDABLE IDS_LIFETIME_SIGNING "Lifetime Signing" IDS_ANY_CERT_POLICY "All issuance policies" } + +#pragma code_page(default) diff --git a/dlls/gphoto2.ds/gphoto2_Es.rc b/dlls/gphoto2.ds/gphoto2_Es.rc index 2a29e9aa452..534c68eba9d 100644 --- a/dlls/gphoto2.ds/gphoto2_Es.rc +++ b/dlls/gphoto2.ds/gphoto2_Es.rc @@ -17,6 +17,7 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#pragma code_page(65001) LANGUAGE LANG_SPANISH, SUBLANG_DEFAULT @@ -53,3 +54,5 @@ BEGIN LTEXT "Conectando a la cámara... Por favor espere",IDC_STATIC,128,58, 116,8 END + +#pragma code_page(default) diff --git a/dlls/localui/ui_Fr.rc b/dlls/localui/ui_Fr.rc index a83829313a4..261fa0b7dd2 100644 --- a/dlls/localui/ui_Fr.rc +++ b/dlls/localui/ui_Fr.rc @@ -17,6 +17,7 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#pragma code_page(65001) LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL @@ -52,3 +53,5 @@ STRINGTABLE DISCARDABLE IDS_PORTEXISTS "Le port %s existe déjà" IDS_NOTHINGTOCONFIG "Ce port n'a pas d'options de configuration" } + +#pragma code_page(default) diff --git a/dlls/sane.ds/sane_Es.rc b/dlls/sane.ds/sane_Es.rc index e6e0ab321cd..bae6b627991 100644 --- a/dlls/sane.ds/sane_Es.rc +++ b/dlls/sane.ds/sane_Es.rc @@ -17,6 +17,7 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#pragma code_page(65001) LANGUAGE LANG_SPANISH, SUBLANG_DEFAULT @@ -38,3 +39,5 @@ STRINGTABLE DISCARDABLE 5 "%" 6 "ns" } + +#pragma code_page(default) diff --git a/programs/net/Fr.rc b/programs/net/Fr.rc index 83d1a6cf8c8..bca25a43592 100644 --- a/programs/net/Fr.rc +++ b/programs/net/Fr.rc @@ -18,6 +18,7 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#pragma code_page(65001) LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL @@ -41,3 +42,5 @@ STRINGTABLE STRING_USE_HEADER, "\nStatut Local Distant\n---------------------------------------------------------------\n" STRING_USE_ENTRY, "%s %S %S Ressources ouvertes : %lu\n" } + +#pragma code_page(default) diff --git a/programs/wineboot/wineboot_Es.rc b/programs/wineboot/wineboot_Es.rc index 4af1677ece6..229eaba4df5 100644 --- a/programs/wineboot/wineboot_Es.rc +++ b/programs/wineboot/wineboot_Es.rc @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * */ +#pragma code_page(65001) LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL @@ -33,3 +34,5 @@ BEGIN LTEXT "Si termina el programa puede perder los datos no grabados.", IDC_STATIC,7,28,172,15 END + +#pragma code_page(default) diff --git a/programs/wineboot/wineboot_Fr.rc b/programs/wineboot/wineboot_Fr.rc index cae61f69454..b24c5d11009 100644 --- a/programs/wineboot/wineboot_Fr.rc +++ b/programs/wineboot/wineboot_Fr.rc @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * */ +#pragma code_page(65001) LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL @@ -33,3 +34,5 @@ BEGIN LTEXT "Si vous arrêtez le programme, vous pouvez perdre toutes les données non enregistrées.", IDC_STATIC,7,28,172,15 END + +#pragma code_page(default) diff --git a/programs/write/Fr.rc b/programs/write/Fr.rc index 452244ef85c..0258efc8142 100644 --- a/programs/write/Fr.rc +++ b/programs/write/Fr.rc @@ -17,6 +17,7 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#pragma code_page(65001) LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL @@ -24,3 +25,5 @@ STRINGTABLE { IDS_FAILED, "Wordpad n'a pas pu être démarré" } + +#pragma code_page(default) diff --git a/programs/xcopy/Fr.rc b/programs/xcopy/Fr.rc index 92c8311113c..e641e6ae5f7 100644 --- a/programs/xcopy/Fr.rc +++ b/programs/xcopy/Fr.rc @@ -18,6 +18,7 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#pragma code_page(65001) LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL @@ -77,3 +78,5 @@ Où :\n\ \t\tque le fichier source\n\n" } + +#pragma code_page(default)