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

Beware of double quoted strings in examples #16

Open
marcomarsala opened this issue Mar 27, 2023 · 0 comments
Open

Beware of double quoted strings in examples #16

marcomarsala opened this issue Mar 27, 2023 · 0 comments

Comments

@marcomarsala
Copy link

marcomarsala commented Mar 27, 2023

Hi, in your examples you're using double quoted strings, but so, some chars in encoded string (that may be composed of any ASCII char) have different meaning and will lead to wrong decoding, for example the following string (attaching a txt file due to formatting issues in GitHub):
test.txt
is decoded with single quoted string syntax but is decoded differently with double quoted string syntax. Also, the last point is missing in both cases, as you can check with https://developers.google.com/maps/documentation/utilities/polylineutility?hl=en

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant