Skip to content
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

Fix error message about invalid surrogate pairs #2076

Merged
merged 3 commits into from
May 1, 2020

Commits on Apr 30, 2020

  1. Fix error message about invalid surrogate pairs

    I tested following strings with invalid surrogate pair and unpaired surrogate in files:
    
    1. `"a\uD800\uD800x"`
    2. `"a\uD800x"`
    
    The error messge was: "... invalid string: surrogate U+DC00..U+DFFF must be followed by U+DC00..U+DFFF; ..."
    
    I think it must be: "... invalid string: surrogate U+D800..U+DBFF must be followed by U+DC00..U+DFFF; ..."
    rmisev committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    6815968 View commit details
    Browse the repository at this point in the history
  2. Fix tests

    rmisev committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    4c053e3 View commit details
    Browse the repository at this point in the history
  3. Fix tests

    rmisev committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    6f18008 View commit details
    Browse the repository at this point in the history