hi tig,
first : thanx for your help.
but
i am doing something wrong.
i placed the utf info at the very first line (above "Module")
` # encoding: UTF-8
module ZF_ifc
#########################################################################################
class ZF_BIM_version
#######################################`
but i still get
Error:
#<SyntaxError: C:/Users/zdene/AppData/Roaming/SketchUp/SketchUp 2023/SketchUp/Plugins/zf_areal3d_bim/areal3d_bim_prg.rb:6743: invalid multibyte char (UTF-8)>
so i cannot search in keys for german letters (Ă€,ĂŒ,ö).
in the key of the hash there is an "Ă€"
i want to check with ruby, if there is an "Ă€" in ite key:
elsif tt[0].to_s.include?("Länge")
elsif tt[0].to_s.include?("Länge")
elsif tt[0].to_s.include?("LĂ€nge")
i just stick.....
stan