go-sciter icon indicating copy to clipboard operation
go-sciter copied to clipboard

For some reason the demos are all blank boxes and text

Open MostHated opened this issue 5 years ago • 1 comments

Hey there, I followed the instructions for linux but unfortunately the demos are all coming out like this?

I did the steps as follows:

  cd ~/_dev/sdk/sciter-sdk/bin.gtk/x64
  export LIBRARY_PATH=$PWD
  echo $PWD >> libsciter.conf
  sudo cp libsciter.conf /etc/ld.so.conf.d/
  sudo ldconfig
  ldconfig -p | grep sciter
    >> libsciter-gtk.so (libc6,x86-64) => /home/mosthated/_dev/sdk/sciter-sdk/bin.gtk/x64/libsciter-gtk.so
  go get -x github.com/sciter-sdk/go-sciter
  cd ~/_dev/programming/go/src/github.com/sciter-sdk/go-sciter/examples/demoes/08
  go run demo9.go
  cd ..
  cd 07
  ls
  go run demo7.go

Demo 7 is the one in the first image. Perhaps I am missing something?

MostHated avatar Jun 28 '19 00:06 MostHated

Might be because it's not encoded in UTF-8. Languages with special characters need unicode, so load in the file as UTF-8.

VanillaScent avatar Oct 13 '19 06:10 VanillaScent