unixwork / xnedit

A fast and classic X11 text editor, based on NEdit, with full unicode support and antialiased text rendering.
Other
82 stars 12 forks source link

UTF-8 support for input fields in dialogs #139

Open cblc opened 6 months ago

cblc commented 6 months ago

I just found that I cannot type international characters in the input fields of the Search, Replace, Open File, dialogs (and maybe in every input box, except for the editor).

In the text editor I can type whatever international character, and it works fine.

I don't know if using XQuartz and having customized some Motif resources could be the reason for this. If it works for you, tell me, because maybe it's my settings.

unixwork commented 6 months ago

If it works in the texteditor, you could add -DXNE_TEXTFIELD to the CFLAGS in your makefile and recompile xnedit. With this flag, xnedit is using an alternative textfield in the dialogs, that has better unicode support. It is not enabled by default yet, but that will change in the future.

Interestingly on macOS I can't enter non-ASCII characters directly, even in the text editor.

cblc commented 6 months ago

Ok, thanks!!,I will try building with -DXNE_TEXTFIELD. But, are you sure international characters don't work for you in the text editor on MacOS? I'm using a Mac and that works fine for me.

unixwork commented 6 months ago

Yes I'm sure. I haven't tried to fix this, yet.

unixwork commented 5 months ago

Is this problem solved?