Ticket #2999 (new defect)

Opened 12 years ago

Last modified 10 years ago

mcedit doesn't handle ZWNJ correctly.

Reported by: monta2009 Owned by:
Priority: trivial Milestone: Future Releases
Component: mcedit Version: master
Keywords: Cc: mooffie@…
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

It seems that even though MC handles input of ZWNJ character(and shows it by a dot) mcedit doesn't.

I can edit a file which has ZWNJ in it, but if I enter a ZWNJ character(Shift+Space in Persian keyboard layout) in a file it adds two dot characters in black background and somehow messes up file encoding(which should be UTF-8).

Those added characters has hex values E2 and 80, while ZWNJ in UTF-8 is sequence of three hex values E2, 80 and 8C.

you can test this by copying this text in mcedit and trying to open the file with some other editors like gedit:
نرم‌افزار

Change History

comment:1 Changed 12 years ago by andrew_b

  • Component changed from mcdiff to mcedit

comment:2 Changed 10 years ago by mooffie

  • Cc mooffie@… added
Note: See TracTickets for help on using tickets.