search for: win32unicode

Displaying 1 result from an estimated 1 matches for "win32unicode".

Did you mean: win32_unicode
2006 Feb 02
5
Fwd: win32-clipboard and Unicode zero bytes
...py to _tcscpy, but that didn''t help. I mucked around a bit with the MultiByteToWideChar function, too, but didn''t have any luck. Any ideas? Thanks, Dan # test.rb $:.unshift Dir.pwd require ''clipboard'' def unicopy(hex_name_array) Win32::Clipboard.set_data(win32unicode(hex_name_array), Win32::Clipboard::UNICODETEXT) true end def extract_flipped_bytes(unicode_char_string) [unicode_char_string[2,2].to_i(16), unicode_char_string[0,2].to_i(16)] end def win32unicode(unicode_char_strings) flipped_bytes = unicode_char_strings.co...