Skip to content

Replace some invisible characters with space #2155

@eshagh79

Description

@eshagh79

Description of the problem or steps to reproduce

Micro seems to replace some special or invisible characters with spaces

Specifications

In Persian and other languages ​​we have many invisible characters, for example:
u+200c
u+200d
u+200e
u+200f

But when we use this character in the micro editor, a space is displayed instead.
Everything is fine in the output file and there is no problem. But displaying text in the editor is confusing
You can try the following examples.
4 characters: slam
12 characters: sl‌‌‌‌‌‌‌‌am
slam in Persian is the same as hello

I expect both of these expressions to be the same but displayed in micro in "sl               am" form.
thank you

Commit hash: 6bc498e
OS: ubuntu 20.04
Terminal: gnome-terminal
micro 2.0.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions