Change 14711

tjuricek
Clear the charset setting by setting it to nil in ruby-land if the charset is detected to be 'none'.

If the user happens to have set the value to 'none' in a config file, or it's otherwise specified, it appears the underlying charset detection mechanism in the C++ API treats it as an encoding. So, by setting it to 'nil' directly in the ruby code, we'll make the correct call to SetCharset(0) as the user probably intends.

P4RUBY-179

Imported from Git
 Author: Tristan Juricek <tjuricek@perforce.com> 1423002926 -0800
 Committer: Tristan Juricek <tjuricek@perforce.com> 1423002926 -0800
 sha1: f7591d8f78483b9872504cc77e1e193b3fae7419
 push-state: incomplete
 parent-changes: 9ce17f3ec56131a622187697d628bbb46263a30e=[998344]
1 edited 0 added 0 deleted
Tip: Use n and p to cycle through the changes.