Opened 15 years ago

Last modified 3 years ago

#21698 new defect

nedit 5.5 incompatible with UTF-8 locales

Reported by: reed@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: jbhuw@…, Dave-Allured (Dave Allured)
Port: nedit

Description

The directry-selection features (including Filter) fail to work properly. This makes it difficult to save a file where you want to save it. Op sys OS X 10.6.

Also, upon startup, nedit reports: "UTF8 locale not supported." Sorry, no log available. Here follows a sample of errors reported when I was attempting to get the File dialogue box to work:

    Name: FilterText
    Class: XmTextField
    Character '\145' not supported in font.  Discarded.


    Name: FilterText
    Class: XmTextField
    Character '\162' not supported in font.  Discarded.


    Name: FilterText
    Class: XmTextField
    Character '\163' not supported in font.  Discarded.


    Name: FilterText
    Class: XmTextField
    Character '\57' not supported in font.  Discarded.

Change History (7)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Keywords: nedit file dialogue failure removed
Port: 5.5 removed

comment:2 in reply to:  description Changed 14 years ago by jbhuw@…

I'm getting the same problem with MacOS X 10.5.

comment:3 Changed 14 years ago by jbhuw@…

Cc: jbhuw@… added

Cc Me!

comment:4 Changed 14 years ago by jbhuw@…

I found a work-around that may help someone smarter than me figure out why this isn't working. This involves two steps: change the character encoding for the MacOS Terminal window to something nedit can handle and change the default text font in nedit to something compatible with the system.

1) Bring up a Terminal window. Then go to the Terminal Menu a the top of the screen and choose Preferences... Click on the “Settings” tab and then pick “Western (ISO Latin 1)” from the Character encoding menu (this is the ISO8859-1 encoding). Close the Preferences window.

2) This step may not be necessary, I did this first and then did step #1. Edit the ~/.nedit/nedit.rc file using vi or something and change the nedit.textFont properties as follows:

nedit.textFont: -adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1 nedit.boldHighlightFont: -adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1 nedit.italicHighlightFont: -adobe-courier-medium-o-normal--12-120-75-75-m-70-iso8859-1 nedit.boldItalicHighlightFont: -adobe-courier-bold-o-normal--12-120-75-75-m-70-iso8859-1

This seems to have solved this problem for me.

comment:5 in reply to:  4 Changed 14 years ago by jbhuw@…

Replying to jbhuw@…:

The wiki formatting messed up my suggested changes to the nedit.rc file. Hopefully this is better:

nedit.textFont: -adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1
nedit.boldHighlightFont: -adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1
nedit.italicHighlightFont: -adobe-courier-medium-o-normal--12-120-75-75-m-70-iso8859-1
nedit.boldItalicHighlightFont: -adobe-courier-bold-o-normal--12-120-75-75-m-70-iso8859-1

comment:6 Changed 13 years ago by jmroot (Joshua Root)

Summary: nedit 5.5 File Dialogue Box Failuresnedit 5.5 incompatible with UTF-8 locales

comment:7 Changed 3 years ago by Dave-Allured (Dave Allured)

Cc: Dave-Allured added
Note: See TracTickets for help on using tickets.