Bug 312395
| Summary: | gdb: Fix UTF-16 pretty printer | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Alicia Boya García <aboya> |
| Component: | Tools / Tests | Assignee: | Alicia Boya García <aboya> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Alicia Boya García
ustring_to_string() (the function used for printing UTF-16 strings) was
wrongfully re-encoding a text string back into bytes, causing an error
later when concatenated with another text string.
This patch also removes comments about Unicode vs non-Unicode strings in
both ustring_to_string and lstring_to_string because they do not
represent how strings work in Python 3: both functions must return
regular strings.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alicia Boya García
Pull request: https://github.com/WebKit/WebKit/pull/62832
EWS
Committed 311364@main (3fb078257aab): <https://commits.webkit.org/311364@main>
Reviewed commits have been landed. Closing PR #62832 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/174916990>