# HG changeset patch # User Mikael Berthe # Date 1178138333 -7200 # Node ID f7d12d2d39bcfaf8fe504d83c41e75cc36885f3e # Parent c66d39c6c27be6a9e0b0e1cd89c01296e35758f8 aspell: Default encoding value (ascii) diff -r c66d39c6c27b -r f7d12d2d39bc plugins/aspell_plugin.py --- a/plugins/aspell_plugin.py Wed May 02 20:42:28 2007 +0200 +++ b/plugins/aspell_plugin.py Wed May 02 22:38:53 2007 +0200 @@ -15,6 +15,8 @@ return LC, encoding = locale.getdefaultlocale() + if not encoding: + encoding = 'ascii' # Check if the language is specified (two-letter code) if len(splitdata) > 1: