On 9/22/06, Joachim Staib <[EMAIL PROTECTED]> wrote:
I'm currently trying to improve character set handling in icqnd and realized that functions like icqSendMessage also do some encoding stuff. So what's the encoding I have to deliver icqSendMessage a string to? In the qt-gui the function UserSendMsgEvent::sendButton() also seems to encode the string. and what does gTranslator.NToRN do :)?
The encoding in the daemon is not really supported anymore, it is up to the individual plugins to do this. The console plugin and RMS do not do that, so as work around the daemon encoding stuff is still present. But, it is better that the plugins send the message to the daemon in the encoding that the user has set for that specific user. NToRN changes \n to \r\n, which was required and probably still is for Windows to show new lines correctly. Jon -- ________________________________________________________ Jon Keating ICQ: 16325723 [EMAIL PROTECTED] MSN: [EMAIL PROTECTED] http://www.licq.org GPG: 2290A71F http://www.thejon.org HOME: Minamiashigara, Japan
