`ARGV` encoding issues
Hi all!!
I'm experimenting encoding issues with ARGV
entries.
Script to reproduce the problem:
#!/usr/bin/gjs
print(ARGV[1]);
print("Valentín");
Output expected calling with ./test-gjs.js Valentín
:
Valentín
Valentín
Actual output:
ValentÃn
Valentín
Command to reproduce the problem:
gjs -c 'log(ARGV[0])' ☭
Expected output:
Gjs-Message: JS LOG: ☭
Actual output:
Gjs-Message: JS LOG: â\u0098