mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-04 10:36:50 +00:00
Move the encoding test to the files that actually need Latin-1.
This commit is contained in:
parent
52e99f5417
commit
189b5bcee8
@ -19,6 +19,14 @@
|
||||
|
||||
#include "../menu_hash.h"
|
||||
|
||||
/* IMPORTANT:
|
||||
* For non-english characters to work without proper unicode support,
|
||||
* we need this file to be encoded in ISO 8859-1 (Latin1), not UTF-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("ø")==2 ? 1 : -1];
|
||||
|
||||
const char *menu_hash_to_str_de(uint32_t hash)
|
||||
{
|
||||
switch (hash)
|
||||
|
@ -19,6 +19,14 @@
|
||||
|
||||
#include "../menu_hash.h"
|
||||
|
||||
/* IMPORTANT:
|
||||
* For non-english characters to work without proper unicode support,
|
||||
* we need this file to be encoded in ISO 8859-1 (Latin1), not UTF-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("ø")==2 ? 1 : -1];
|
||||
|
||||
const char *menu_hash_to_str_fr(uint32_t hash)
|
||||
{
|
||||
switch (hash)
|
||||
|
@ -19,6 +19,14 @@
|
||||
|
||||
#include "../menu_hash.h"
|
||||
|
||||
/* IMPORTANT:
|
||||
* For non-english characters to work without proper unicode support,
|
||||
* we need this file to be encoded in ISO 8859-1 (Latin1), not UTF-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("ø")==2 ? 1 : -1];
|
||||
|
||||
const char *menu_hash_to_str_pt(uint32_t hash)
|
||||
{
|
||||
switch (hash)
|
||||
|
@ -22,14 +22,6 @@
|
||||
|
||||
#include "../configuration.h"
|
||||
|
||||
/* IMPORTANT:
|
||||
* For non-english characters to work without proper unicode support,
|
||||
* we need this file to be encoded in ISO 8859-1 (Latin1), not UTF-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("ø")==2 ? 1 : -1];
|
||||
|
||||
const char *menu_hash_to_str(uint32_t hash)
|
||||
{
|
||||
const char *ret = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user