Open theisi opened 6 months ago
This issue is stale because it has been open 45 days with no activity. Remove "Abondoned" label or comment or this will be closed in 7 days.
This issue is stale because it has been open 60 days with no activity. Remove "Abondoned" label or comment or this will be closed in 14 days.
Describe the bug A unicode character (code point >128) in a cypher query raises the exception SqlExecutionError: InvalidEscapeSequence.
How are you accessing AGE (Command line, driver, etc.)? Python driver
What is the command that caused the error?
Expected behavior Write the unicode string to the database.
Environment (please complete the following information):
Additional context AGE expects strings encoded with Unicode UTF-16 code points in the form of \uXXXX. However, cursor.mogrify() in age.py returns UTF-8 encoded byte strings. A simple decode, encode sequence can solve the problem for low code points:
instead of