X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=utf8.h;h=c475d0f2873285f91b4d3259dfbc5e3540adc670;hb=055bb491aa1c61403cb7de2ea930a89a362e1807;hp=b793db612e2eb50169aec43d1e53b99c1840c916;hpb=ce6dce323a8d0f7e019f361b7d8ad8f9fea59359;p=p5sagit%2Fp5-mst-13.2.git diff --git a/utf8.h b/utf8.h index b793db6..c475d0f 100644 --- a/utf8.h +++ b/utf8.h @@ -7,6 +7,15 @@ * */ +/* Use UTF-8 as the default script encoding? + * Turning this on will break scripts having non-UTF8 binary + * data (such as Latin-1) in string literals. */ +#ifdef USE_UTF8_SCRIPTS +# define USE_UTF8_IN_NAMES (!IN_BYTES) +#else +# define USE_UTF8_IN_NAMES (PL_hints & HINT_UTF8) +#endif + #ifdef EBCDIC /* The equivalent of these macros but implementing UTF-EBCDIC are in the following header file: