Summary: | variable with UTF8 content: Invalid byte sequence in conversion input | ||
---|---|---|---|
Product: | pkg-config | Reporter: | Adam Lackorzynski <adam> |
Component: | src | Assignee: | Dan Nicholson <dbn.lists> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | adam |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Adam Lackorzynski
2014-11-07 16:43:37 UTC
Unfortunately, pkg-config doesn't currently handle non-ASCII correctly. You can add a call to 'setlocale(LC_ALL, "")' at the beginning of main to get past this error (g_option validating the input), but later you'll likely not get back the results you expected. In particular, strdup_escape_shell(), the function used by the parser to escape special shell characters, make the assumption that it's operating on an ASCII byte string. This should get fixed, but I don't expect it to happen really soon. Sorry. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pkg-config/pkg-config/issues/19. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.