Skip to content
Commit 81cfed7e authored by Benedikt Spranger's avatar Benedikt Spranger Committed by Bastian Germann
Browse files

Specify string encoding



String manipulation with unknown encoding may result in undefined
behaviour. Set the string encoding to UTF-8 and add error handling.

Signed-off-by: default avatarBenedikt Spranger <b.spranger@linutronix.de>
Reviewed-by: default avatarBastian Germann <bage@linutronix.de>
parent f46c0376
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment