NEdit doesn't work support UTF

Bug #1687 reported by Max Jonas Werner
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
NEdit
Invalid
Undecided
Unassigned
nedit (Ubuntu)
Invalid
Medium
MOTU
Declined for Hardy by Steve Langasek
Declined for Intrepid by Steve Langasek

Bug Description

The default character encoding in Ubuntu is UTF-8. But NEdit doesn't support UTF at all. The only workaround for now is the following:

1. Do a 'sudo dpkg-reconfigure locales' and choose an ISO-8859-* encoding (I don't know if other encodings such as CP1251 work).

2. Call NEdit by using the command 'LANG=de_DE.ISO-8859-15 nedit' (replace language and encoding with your preferred ones (but not UTF ;-))

As long as NEdit doesn't support UTF encodings Ubuntu should do this workaround by itself and perhaps tell the user that he cannot use UTF fonts at all.

Changed in nedit:
assignee: nobody → motu
Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :

Confirmed. I have my locale set to en_US.UTF-8, using nedit 5.5-1ubuntu1.

The unicode test file at http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt displays in a mangled fashion; it looks like ISO 8859.

Changed in nedit:
status: Unconfirmed → Confirmed
Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :

This is still present in nedit 1:5.5-2ubuntu3, in Gutsy. It does, however, now throw a warning when you try to open a UTF-8 file.

$ nedit UTF-8-demo.txt
UTF8 locale not supported.

Revision history for this message
Daniel T Chen (crimsun) wrote :
Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

Thank you for posting this bug.

Does this occur in Lucid?

Changed in nedit (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Paul Gevers (paul-climbing) wrote :

Yes, this bug is not solved.

However, previously I was under the impression that nedit threw a warning at me. It doesn't do that (anymore).

I will try to have a look at why the warning doesn't work.

Changed in nedit (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Scott Tringali (tringali) wrote :

There is no UTF8 support in the sense you can edit or view unicode, it's still a single-byte editor. The warning you see was to prevent a crash in certain versions of OpenMotif (I believe it was the file selector box), so what it does is ignore the utf8 part and try to run in the non-utf8 locale "de_DE".

Revision history for this message
dino99 (9d9) wrote :

 It's in Debian, and the descriptive text includes
> "Because of its mature age, NEdit does not support UTF-8 text files,
> nor will that be implemented."

Think using vim or else.

Changed in nedit (Ubuntu):
status: Confirmed → Invalid
Changed in nedit:
importance: Unknown → Undecided
status: Unknown → New
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.