diff --git a/menu/intl/menu_hash_de.c b/menu/intl/menu_hash_de.c index 3f1d785718..0f773d4d03 100644 --- a/menu/intl/menu_hash_de.c +++ b/menu/intl/menu_hash_de.c @@ -28,7 +28,8 @@ * If you save this file as UTF-8, you'll break non-english characters * (e.g. German "Umlauts" and Portugese diacritics). */ -extern const char encoding_test[sizeof("")==7+1 ? 1 : -1]; +/* DO NOT REMOVE THIS. If it causes build failure, it's because you saved the file as UTF-8. Read the above comment. */ +extern const char force_iso_8859_1[sizeof("")==7+1 ? 1 : -1]; const char *menu_hash_to_str_de(uint32_t hash) { diff --git a/menu/intl/menu_hash_fr.c b/menu/intl/menu_hash_fr.c index 145dfdbde0..f273aa5f62 100644 --- a/menu/intl/menu_hash_fr.c +++ b/menu/intl/menu_hash_fr.c @@ -25,7 +25,8 @@ * If you save this file as UTF-8, you'll break non-english characters * (e.g. German "Umlauts" and Portugese diacritics). */ -extern const char encoding_test[sizeof("")==6+1 ? 1 : -1]; +/* DO NOT REMOVE THIS. If it causes build failure, it's because you saved the file as UTF-8. Read the above comment. */ +extern const char force_iso_8859_1[sizeof("")==6+1 ? 1 : -1]; const char *menu_hash_to_str_fr(uint32_t hash) { diff --git a/menu/intl/menu_hash_pt.c b/menu/intl/menu_hash_pt.c index 74bd493cfd..7d4e9f156a 100644 --- a/menu/intl/menu_hash_pt.c +++ b/menu/intl/menu_hash_pt.c @@ -26,6 +26,8 @@ * If you save this file as UTF-8, you'll break non-english characters * (e.g. German "Umlauts" and Portugese diacritics). */ +/* DO NOT REMOVE THIS. If it causes build failure, it's because you saved the file as UTF-8. Read the above comment. */ +extern const char force_iso_8859_1[sizeof("áÁâãçéêíÍóõú")==12+1 ? 1 : -1]; const char *menu_hash_to_str_pt(uint32_t hash) {