Skip to content

[libcxx] Fix a comment link for the unicode NBSP char. NFC. #139692

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libcxx/src/locale.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3957,7 +3957,7 @@ static bool is_narrow_non_breaking_space(const char* ptr) {
}

static bool is_non_breaking_space(const char* ptr) {
// https://www.fileformat.info/info/unicode/char/0a/index.htm
// https://www.fileformat.info/info/unicode/char/a0/index.htm
return ptr[0] == '\xc2' && ptr[1] == '\xa0';
}
#endif // _LIBCPP_HAS_WIDE_CHARACTERS
Expand Down
Loading