python-bidi
python-bidi copied to clipboard
BIDI algorithm related functions
Hi Team, The lines are not getting reversed for arabic in server alone. Can you please help us.
logic for "ES" bidi type chars improved. 
whenever I try printing a paragraph or more than 10 words, lines get reversed in arabic. will provide more details once I get a reply. im not sure if this...
Better to use implicit type checking rather using assert, which will breaks the application if the character type not just L, R, AN, or EN. For example \u2069 which is...
Hi, It appears that when using get_dislplay(str) on Hebrew strings, the output comes out in the correct direction for Hebrew words, but the lines are reversed, i.e - first line...
A string passed to `get_display` in the format of `dd month yyyy - dd month yyyy` will yield different ordering if the day is a single digit. --- **OSX 10.11.6**...
I noticed L3 was not implemented. Here is an attempt to do that.
Here's the error: `"/usr/local/lib/python2.7/dist-packages/bidi/algorithm.py", line 648, in get_display↵ resolve_implicit_levels(storage, debug)↵↵ File "/usr/local/lib/python2.7/dist-packages/bidi/algorithm.py", line 466, in resolve_implicit_levels↵ '%s not allowed here' % _ch['type']↵↵AssertionError: not allowed here↵"`
get_display function in bidi.algorithm module skip zero width non-joiner character. ``` In [1]: from bidi.algorithm import get_display In [2]: raw_text = u'سلام' In [3]: print(len(raw_text)) 5 In [4]: text =...
I am trying to use your library to replace the older pyfribidi library in the weechat script found in https://github.com/yuvallanger/weechat-biditext/ which is a fork of https://github.com/spacepluk/weechat-biditext/ When I use `bidi.algorithm.get_display(line)`...