Problem with character sets and .Net
Posted: November 2nd, 2007, 8:26 pm
i decide to write a plugin for Smartie using vb.net when i use demo plugins i have a problem with non ascii characters (Cyrillic in my case)
i read about .net using only Unicode as strings and Smartie use ascii 8bit charset
so PC display show some garbage characters x2 because the unicode
i dont see way to make vb.net return needed string format
and thinking it is impossible using string
is it possible function to return other type data instead of string ??? i try byte() dont work
Code: Select all
Public Function function1(ByVal param1 As String, ByVal param2 As String) As String
Return param1
End Function
so PC display show some garbage characters x2 because the unicode
i dont see way to make vb.net return needed string format

is it possible function to return other type data instead of string ??? i try byte() dont work
