Use libc for setlocale() to fix non-ASCII (#256)
* Use libc for setlocale() to fix non-ASCII character printing. https://github.com/hrkfdn/ncspot/issues/221 * move string instantiation outside unsafe block update libc crate while at it Co-authored-by: Henrik Friedrichsen <henrik@affekt.org>
This commit is contained in:
@@ -43,6 +43,7 @@ clipboard = { version = "0.5", optional = true }
|
||||
url = "1.7"
|
||||
strum = "0.17.1"
|
||||
strum_macros = "0.17.1"
|
||||
libc = "0.2"
|
||||
|
||||
[dependencies.cursive]
|
||||
version = "0.15"
|
||||
|
||||
Reference in New Issue
Block a user