Print Preview: Correctly identify delimiters
It is not correct to assume that the delimiters will be in the same position in the formatted number string in every locale. Specifically, for Hindi, the formatted string is "1,23,456.78", which caused 3 and 6 to be sent as delimiters. Look for the delimiters after 3 and 6 instead. Bug: 998039 Change-Id: If3e7e1c245f458224c0916a2eb6b78acd5c61581 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1774219Reviewed-by:Lei Zhang <thestig@chromium.org> Commit-Queue: Rebekah Potter <rbpotter@chromium.org> Cr-Commit-Position: refs/heads/master@{#691493}
Showing
Please register or sign in to comment