diff --git a/src/WLGlobalConfig.m b/src/WLGlobalConfig.m index acf86e0..69d84d7 100644 --- a/src/WLGlobalConfig.m +++ b/src/WLGlobalConfig.m @@ -339,8 +339,7 @@ - (void)setShouldEnableMouse:(BOOL)value { } - (void)setDefaultEncoding:(WLEncoding)value { - //force big-5 as default encoding - _defaultEncoding = 1; + _defaultEncoding = value; [[NSUserDefaults standardUserDefaults] setInteger:(NSInteger)value forKey:@"DefaultEncoding"]; }