Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Character Handling: PiAware Config #73

Open
pgrady opened this issue Jun 20, 2021 · 2 comments
Open

Character Handling: PiAware Config #73

pgrady opened this issue Jun 20, 2021 · 2 comments

Comments

@pgrady
Copy link

pgrady commented Jun 20, 2021

Wifi network contains a value utf-8 character (e-grave which prints as "è"). With this character entered in /boot/piaware-config.txt, resulting wpa-supplicant.conf is "??" instead of the e-grave character. None of the obvious quote patterns (quoting the string, single backslash, double backslash, unicode (u)) work. Looks like the character handling doesn't support utf-8 (and probably utf-16). Converting the SSID to hex in piaware-config.txt also doesn't work.

@mutability
Copy link
Contributor

SSID character set encoding is, at best, poorly defined. What encoding does wpa-supplicant expect in the config file?

@mutability
Copy link
Contributor

I guess we should detect the "looks like a hex string" case and not quote it, though I am wary of breaking things that look like a hex string but actually are ASCII (C0FFEE..)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants