python-bidi icon indicating copy to clipboard operation
python-bidi copied to clipboard

get_display() removes SOFT HYPHEN ('\xad')

Open staskh opened this issue 2 years ago • 0 comments

to replicate:

from bidi.algorithm import get_display  

string= "01\xad2345"
bidi_string = get_display(string)
assert string.find("\xad") != -1
assert bidi_string.find("\xad") == -1

staskh avatar Sep 14 '23 13:09 staskh