# coding: utf-8
require 'sketchup'
require 'set'
Encoding.default_external='utf-8'
when i install sketchup into the directory with chinese character, the sketchup plugin loads with errors when i require set. I guess the set library is in the installation’s directory. but the path has other characters not ascill. so is it a bug for sketchup?
Error: #<Encoding::UndefinedConversionError: "\xAF\xE4" from GBK to UTF-8>
c:/users/vic/appdata/roaming/sketchup/sketchup 2015/sketchup/plugins/sk_building_client.rbs:4:in `require'
c:/users/vic/appdata/roaming/sketchup/sketchup 2015/sketchup/plugins/sk_building_client.rbs:4:in `<main>'
C:/软件/Sketchup_2015/Tools/sketchup.rb:85:in `eval'
C:/软件/Sketchup_2015/Tools/sketchup.rb:85:in `require'
C:/软件/Sketchup_2015/Tools/sketchup.rb:85:in `block in require_all'
C:/软件/Sketchup_2015/Tools/sketchup.rb:85:in `each'
C:/软件/Sketchup_2015/Tools/sketchup.rb:85:in `require_all'
<main>:in `<main>'
SketchUp:1:in `eval'