| LiveSupport Turkish Character Problem -
09-04-2007, 02:22 AM
When I reply to a chat window using Turkish everthing okay but when users use Turkish characters i see end up seeing garbled/unreadable characters on my chat window in KayakoLiveResponse. Anyone else experiencing this? How do I fix this bug?
i found something on the internet like :
Strings in Visual Basic are Unicode. The only way to work with byte data representing characters in a particular charset encoding is with a byte array.
When you pass đţ to ConvertData, you are passing a Unicode string (i.e. each character is represented by 2-bytes of data.) However, your code is telling the conversion component that you are passing windows-1254″ (1 byte/char) data, but you are NOT. Also, ConvertData returns a byte array (in a Variant), but MsgBox is expecting a string (Unicode of course).
If you are trying to display Unicode characters in VB6, your best course of action is to use the Microsoft Forms 2.0 controls (fm20.dll) instead of the default controls. These are Unicode-capable controls (text box, label, list box, etc.) that can display strings (Unicode) in any language. The default VB6 controls do not support Unicode, even though VB6 strings *are* Unicode, go figure! For me, internationalization is one of the biggest reasons for switching to .NET.
And i am using both English (utf-8) and turkish (ISO-8859-9) on the admin panel for Kayako.
Note: SupportSuite 3.0.4.34(UNICODE)
thanks... |