bash printf %q weirdness and UTF-8
I'm trying to get nice escaped strings via bash. The script works fine so long as there aren't high ASCII (UTF-8) characters. Code: #!/bin/bash Code: …hkjh' My shell is LANG=en_US.UTF-8 and it seems to handle the display of UTF-8 fine. The … is UTF code pt +2026 or 0xE280A6. |
No comments:
Post a Comment