aboutsummaryrefslogtreecommitdiffstats
path: root/test/core_deps.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-04-14 15:13:42 +0200
committerLoïc Hoguin <[email protected]>2020-04-14 15:13:42 +0200
commit44b3c70a9ee51410aa224dae183fcf9436f01139 (patch)
tree5b5bf02810aca3553fa6f4fdfd6be75609fef324 /test/core_deps.mk
parenta187726d5ebce1dd37afdc5f84e609c7401d0965 (diff)
downloaderlang.mk-44b3c70a9ee51410aa224dae183fcf9436f01139.tar.gz
erlang.mk-44b3c70a9ee51410aa224dae183fcf9436f01139.tar.bz2
erlang.mk-44b3c70a9ee51410aa224dae183fcf9436f01139.zip
Fix encoding issues when generating the makedep file
In some cases the input will be parsed as UTF-8 and converted to "characters" and in others it won't and will be processed as bytes (for example, `erl -oldshell` will do that). This means that encoding-dependent characters such as "é" only need to be converted to binary in the former case. To detect which situation we are in we check what the value of "é" is. If it is [233] then the eval input was parsed as UTF-8 and converted to characters. Otherwise we assume it wasn't.
Diffstat (limited to 'test/core_deps.mk')
0 files changed, 0 insertions, 0 deletions