-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
ProcessWord support UTF-8 #17055
ProcessWord support UTF-8 #17055
Conversation
nice. can we get some testcases? |
as @duglin says, having tests would be awesome. |
Sorry, I forgot to testing..... I added test case for UTF-8 strings using Korean words "안녕하세요" (it's mean hello). I write new test case based on previous test case. |
Oh Cool ! Unicode all the things 🙌 — with tests 😻 ありがとう |
ch = sw.next() | ||
|
||
ch = sw.scanner.Next() | ||
|
||
if ch == '\000' { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need to check for \000 ?
thanks for the tests - very nice. |
@duglin you right. I confused \000 need for multiline .... I remove/rewrite code related with \000 |
@daehyeok please squash your commits |
modified PorcessWord to working normally for UTF-8 strings and added test cases Signed-off-by: Daehyeok Mun <daehyeok@gmail.com>
@duglin squashed, Thanks |
LGTM 🐰 |
Merging 😍 |
Yah, we can do that |
modified PorcessWord to working normally for UTF-8 strings.
fixed #16793
Signed-off-by: Daehyeok Mun daehyeok@gmail.com