xnedit icon indicating copy to clipboard operation
xnedit copied to clipboard

UTF-8 support for input fields in dialogs

Open cblc opened this issue 10 months ago • 4 comments

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.

cblc avatar Apr 20 '24 12:04 cblc

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.

unixwork avatar Apr 20 '24 12:04 unixwork

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.

cblc avatar Apr 20 '24 13:04 cblc

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

unixwork avatar Apr 20 '24 13:04 unixwork

Is this problem solved?

unixwork avatar May 06 '24 15:05 unixwork