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

Nonstandard characters prevent the list of available networks from being displayed. #17

Closed
keithrbennett opened this issue Jul 13, 2018 · 1 comment

Comments

@keithrbennett
Copy link
Owner

Apparently, the output of the airport command is in the Mac Roman encoding. It has happened several times that a nonstandard character has caused a REXML::ParseException, and the list of networks was unable to be displayed.

An example is the use of a nonstandard apostrophe in a network name (e.g. "Michael's iPhone"), character 0xD5 in Mac Roman. REXML cannot deal with this character and raises an exception.

keithrbennett added a commit that referenced this issue Jul 13, 2018
@keithrbennett
Copy link
Owner Author

The above commit solved the problem.

keithrbennett added a commit that referenced this issue Jul 13, 2018
… utf-8" to airport command to convert network names from Mac Roman to Unicode (#17).
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

1 participant