Skip to content

Conversation

@Mytherin
Copy link
Collaborator

This PR modifies the reverse function to reverse based on grapheme clusters, which fixes issue #567. It also adds support of grapheme clusters to the duckdb_cli shell, which makes it behave a bit more logically w.r.t. unicode text (i.e. pressing "left" or "right" no longer goes left or right by one byte, but by one grapheme cluster, same with backspace/delete).

@Mytherin Mytherin merged commit ed92e9c into master Apr 24, 2020
@Mytherin Mytherin deleted the utf8fix branch April 24, 2020 07:20
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

Successfully merging this pull request may close these issues.

REVERSE() on special character results in "Assertion `strcmp(dataptr, normalized) == 0' failed."

2 participants