On 11 Jun 2008, at 15:05, Devin Asay wrote:
I thought that:
put uniencode(fld "vcard","UTF8" into url("binfile:...)
would do the trick, but nada.
Mac "Addressbook" does not want to import them and "TextEdit" does
not show the umlauts,
although I open the files manually and select "Textencoding:
Unicode UTF8" in the open dialog.
Assuming the text in the field is "plain Rev text", and that you
need to export UTF-8. I think it's a two-step process.
put uniEncode(fld "vcard") into tVar ## create 2-byte unicode
put uniDecode(tVar, "UTF8") into tUTF8Var ## decode to UTF8
put tUTF8Var iinto url ("binfile:" & etc.)
Actually, you should be able to do it in one statement (untested):
put uniDecode(the unicodeText of fld "vcard","UTF8") into URL
("binfile:...")
After all, it's all about the smallest number of lines of code,
right? ;-)
Yeah. I read that somewhere. :-)
Dave
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution