zephyr/misc
Sebastian Bøe 777e0a1b86 cmake: Support UTF-8 characters in Kconfig values
We are using the CMake command 'file(STRINGS' (which defaults to only
decoding ASCII) to read Kconfig configurations. When UTF-8 characters
are detected they are treated as newlines.

This behaviour has caused issues when users have input UTF-8
characters into Kconfig values. E.g. USB device descriptor strings.

This commit adds the flag 'ENCODING "UTF-8"' to the 'file(STRINGS'
command so that UTF-8 characters are correctly passed through the
build system.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2018-03-21 19:11:19 -04:00
..
generated cmake: Support UTF-8 characters in Kconfig values 2018-03-21 19:11:19 -04:00
CMakeLists.txt subsys: stats - Statistics support 2018-02-20 22:07:52 +01:00
Kconfig subsys: stats - Statistics support 2018-02-20 22:07:52 +01:00
empty_file.c
printk.c printk: Add padding support to string format specifiers 2017-11-14 21:32:20 +02:00
reboot.c
stats.c subsys: stats - Statistics support 2018-02-20 22:07:52 +01:00