Ticket #889 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Padre saves non-ASCII characters as \x{XXXX}

Reported by: ash Owned by:
Priority: major Milestone:
Component: editor Version: 0.58
Keywords: Cc:

Description

If I create a Perl file in Padre (installed from http://strawberryperl.com/download/professional/strawberry-perl-professional-5.10.1.1-alpha-1.msi), than type

say "Превед!"

there, and than save the file, I will find the following string in it:

say "\x{041f}\x{0440}\x{0435}\x{0432}\x{0435}\x{0434}!"

Change History

comment:1 Changed 4 years ago by azawawi

It is also the same with Arabic. Seems to me UTF-8 encoding/decoding in Padre is broken

comment:2 Changed 4 years ago by azawawi

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r11123

Thanks for reporting it.
/Ahmad

Note: See TracTickets for help on using tickets.