New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #21698 (new defect)

Opened 4 years ago

Last modified 2 years ago

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@…
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

comment:1 Changed 4 years ago by macsforever2000@…

  • Keywords nedit file dialogue failure removed
  • Port changed from nedit 5.5 to nedit

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

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

comment:3 Changed 3 years ago by jbhuw@…

  • Cc jbhuw@… added

Cc Me!

comment:4 follow-up: ↓ 5 Changed 3 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 3 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 2 years ago by jmr@…

  • Summary changed from nedit 5.5 File Dialogue Box Failures to nedit 5.5 incompatible with UTF-8 locales
Note: See TracTickets for help on using tickets.