Ticket #1281 (assigned defect)
[osx] Could not find system(darwin) default encoding
| Reported by: | tome | Owned by: | tome |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | OSX | Version: | 0.87 |
| Keywords: | osx | Cc: |
Description
On OSX Lion I'm getting (currently on r15252) when I try to open a file I get.
"Could not find system(darwin) default encoding. Please check it manually and report your environment to the Padre development team. at /Users/tom/Projects/PadreBuild/svn/Padre/lib/Padre/Locale.pm line 599."
This is because my $loc = POSIX::setlocale( POSIX::LC_CTYPE() );
returns en_GB
(note I am in the US, and haven't set anything explicit since i got the machine).
Unfortunately, I don't know enough about the code or OSX to know what should be the correct result.
TODO: test older versions of Padre since I don't remember seeing this message on .86.

Quick comment that in my terminal from which I invoke padre, when I use locale I get this output:
$ locale
LANG="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_ALL=