You are not logged in.

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.

Lykurg

Beginner

  • "Lykurg" started this thread

Posts: 3

Location: Germany

Occupation: Student

  • Send private message

1

Thursday, April 22nd 2004, 6:45am

KDevelop + Message&Merge

Hi,
i have add translations to my kde-project and want to make "message&merge", but then i get the error, that a line in *.cpp is not a ASCII. (the line is i18n("&Datei") )
In Kdevelop i have defined, that all is saved in iso-8859-15 and linux linebreak, ans there is no option to say save in ascii.
What must i do?

Thanks,
Lykurg

dfaure

Beginner

Posts: 16

Location: France

  • Send private message

2

Thursday, April 22nd 2004, 7:21pm

RE: KDevelop + Message&Merge

i18n("&Datei") surely looks ascii to me (although it doesn't really look like an English word, but that's another problem!).

Are you sure about the guilty line? Isn't there one with a special character, like an umlaut or something like that?

i18n() takes a UTF8 string, so if you want to put a special character (e.g. in someone's name, you have to use "recode l1..u8" to convert it to utf8).
David Faure, KDE developer, Klaralvdalens-Datakonsult AB.