WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
312395
gdb: Fix UTF-16 pretty printer
https://bugs.webkit.org/show_bug.cgi?id=312395
Summary
gdb: Fix UTF-16 pretty printer
Alicia Boya García
Reported
2026-04-15 11:11:04 PDT
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
Comment 1
2026-04-15 11:11:48 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/62832
EWS
Comment 2
2026-04-16 06:01:38 PDT
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
Comment 3
2026-04-16 06:02:14 PDT
<
rdar://problem/174916990
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug