Dear visitor, welcome to KDE-Forum.org.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
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*'Ô
Incidentally, I am using KDE 3.3 with Qt 3.3.3.
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.