@unclex said:
Error Loading File Fredo6_!LibFredo6.rb
Error: #<ArgumentError: invalid byte sequence in UTF-8>
C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6PluginDialogs.rb:689:in `[]'
Hi
I just fixed a similar UTF-8 encoding issue with the v5.7 version on a 64bit Windows 7 machine. It seems that the "copyright" symbol in the file comments is not correctly encoded and Ruby trips over this. I fixed it by replacing
IO.foreach(file) do |line|
with
IO.foreach(file, ;encoding => 'iso-8859-1') do |line|
in line 201 in Fredo6_!LibFredo6.rb and again in line 366 in Lib6Core.rb. Not sure if this is the right way to do it but it works for me right now.
Cheers,
tbleicher