You are not logged in.

1

Saturday, November 12th 2005, 12:57pm

Kedit cannot save UTF-8

Kedit/Kate cannot save files with Urdu text although I have configured the encoding to UTF-8. The saved file reads as "???????????"

The Urdu text files can be saved correctly in KOffice.

Kwrite also gives an error that
"The document could not be saved, as the selected encoding cannot encode every unicode character in it. If you are unsure of which encoding to use, try UTF-8 or UTF-16."
The encoding is already UTF-8 in the configuration and Urdu characters are certainly UTF-8.

Urdu (Arabic) looks like this:
'3D'E 9DÌ©E ÌÁ '̈Ìy1 5-Ì- ©'E ©ÌHº FÁ̺ ©1*'Ô

2

Saturday, November 12th 2005, 11:23pm

Incidentally, I am using KDE 3.3 with Qt 3.3.3.

3

Tuesday, December 6th 2005, 1:46am

I forgot to set the LANG environment variable to UTF-8, e.g.,

export LANG=en_US.UTF-8

With this it works. Kedit can save Urdu files in Unicode.