mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-16 07:20:46 +00:00
Unicode: Try s/codepoint/code_point/g again
This time, without trailing 's'. Ran: git grep -l 'codepoint' | xargs sed -ie 's/codepoint/code_point/g
This commit is contained in:
parent
19ac1f6368
commit
ce95628b7f
Notes:
sideshowbarker
2024-07-19 04:15:29 +09:00
Author: https://github.com/nico
Commit: ce95628b7f
Pull-request: https://github.com/SerenityOS/serenity/pull/3018
45 changed files with 441 additions and 441 deletions
|
@ -65,8 +65,8 @@ String Latin1Decoder::to_utf8(const StringView& input)
|
|||
StringBuilder builder(input.length());
|
||||
for (size_t i = 0; i < input.length(); ++i) {
|
||||
u8 ch = input[i];
|
||||
// Latin1 is the same as the first 256 Unicode codepoints, so no mapping is needed, just utf-8 encoding.
|
||||
builder.append_codepoint(ch);
|
||||
// Latin1 is the same as the first 256 Unicode code_points, so no mapping is needed, just utf-8 encoding.
|
||||
builder.append_code_point(ch);
|
||||
}
|
||||
return builder.to_string();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue