/[thuban]/trunk/thuban/Thuban/UI/about.py
ViewVC logotype

Diff of /trunk/thuban/Thuban/UI/about.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2527 by bernhard, Thu Jan 20 10:00:34 2005 UTC revision 2528 by bernhard, Thu Jan 20 13:14:14 2005 UTC
# Line 171  def unicodeToLocale(unicodeStr): Line 171  def unicodeToLocale(unicodeStr):
171      # instead.      # instead.
172      locale=getdefaultlocale()[1]      locale=getdefaultlocale()[1]
173      if locale is None:      if locale is None:
174          locale = 'iso-8859-15'          locale = 'ascii'
175      return unicodeStr.encode(locale)      return unicodeStr.encode(locale,'replace')

Legend:
Removed from v.2527  
changed lines
  Added in v.2528

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26