: K-Meleon Forum
K-Meleon development related discussions.
[quote=mark307] I made sure your code showed empty string when the string in the clipbpard was not ASCII. I guessed the DecodeUTF8 function did not work with non UTF8 string. The macro plugin treats all strings as UTF8 since 1.0, so a string is converted from UTF8 to ANSI before being passed to other plugin. I guessed this strange bug was happened in the process. In the macro, a string was converted from UTF8 to ANSI and passed to the utils plugin. The utils plugin tried to convert the string to ANSI, but the string wasn't UTF8, then the plugin returned a empty string. I see this is difficult problem. Anyway this is outside of mine. :-) But the DecodeUTF8 might be avoided, because a string is converted to ANSI in many macro statements. Thanks.[/quote]
K-Meleon forum is powered by