Author Topic: International characters & PixInsight  (Read 3041 times)

Offline NKV

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 677
International characters & PixInsight
« on: 2012 October 07 07:41:29 »
Hi,
I am try to improve one of my module and i have unsuccessful fighting with International characters in folders names.

Test number 1:
I create folder with Russian characters to test how my module handle international characters.
So, what i see... PixInsight 1.8 Linux64 Console output in Screen1.jpg:

PI core handle it without problem. My module not yet.

Test number 2:
I write in console some command with Russian word. PixInsight translate it to abracadabra.
Is it normal? See Screen.jpg.

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: International characters & PixInsight
« Reply #1 on: 2012 October 07 08:18:25 »
Just a guess: PI does not handle non-ASCII characters properly in this case. A complicated problem if you did not build your application with Unicode (e.g. UTF8) in mind.
Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline NKV

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 677
Re: International characters & PixInsight
« Reply #2 on: 2012 October 07 09:16:49 »
Just a guess: PI does not handle non-ASCII characters properly in this case. A complicated problem if you did not build your application with Unicode (e.g. UTF8) in mind.
Georg
Georg, thank you! Magic word UTF8 !!!

dirName.ToUTF8() work fine for me. Console output a bit crazy, but it's not my problem.