Ticket #1152 (new defect)
Opened 2 years ago
Padre is not displaying DOS-ASCII ANSI encoded text files with Hebrew correctly
|Reported by:||Carmageddon||Owned by:|
|Keywords:||encoding editor hebrew ansi ascii convert||Cc:||carmageddon@…|
I have to work on developing a system to parse, and also build the files, which are Fixed-Width format files, which include English and Hebrew characters.
Comparison is again Notepad++, where I load the file, go to Encoding->Encode in ANSI and I can read it just fine.
1) Load the file in Padre, and the Hebrew characters are unreadable.
2) Attempt Edit -> Convert Encoding -> Encode Document to.. -> Select ASCII.
3) I get a msg: Document encoded to (utf8).
I also noticed the file is saved and overwritten (lucky I had a backup..)! without me needing to save.
After that conversion process, the new file's Hebrew is unreadable even in Notepad++ in any encoding..
A sample file is attached.
I hope this is fixable... Hebrew goes from Right to left so I am unsure whether Perl can work with it in ASCII/ANSI all.
My version information:
This is perl, v5.10.1 (*) built for MSWin32-x86-multi-thread
Wx Version=(0.9702) wxWidgets 2.8.10 unicode=(1)
Running on Windows 7 Ultimate 64bit in English and Padre is 0.82, upgraded from version I downloaded here 1-2 days ago.