locale.getlocale() returns ascii locale even though UnicodeFilenameFeature is present

Bug #920444 reported by Jelmer Vernooij
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
High
Unassigned
Breezy
Triaged
Low
Unassigned

Bug Description

After the recent changes to the locale handling, bzr now always has UnicodeFilenameFeature enabled on UNIX if no explicit locale is set in the environment.

However, the locale is only changed for Python/bzrlib, and the general system locale (set with locale.setlocale) is left untouched.

This causes issues with bzr-svn, where libsvn relies on locale.getlocale() to determine what encoding to use for local filenames.

Jelmer Vernooij (jelmer)
tags: added: regression
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Jelmer Vernooij (jelmer)
tags: added: selftest
removed: check-for-breezy
Changed in brz:
status: New → Triaged
importance: Undecided → Low
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.