<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="+1">Hey Richard<br>
<br>
Good to see you are still around. :) Are things well with you?<br>
<br>
Thank you for the code. I'm getting an error: <br>
<br>
uniEncode: bad parameter<br>
Expression: missing ")" before factor<br>
<br>
cursor is at the end of the code (at the X):<br>
uniEncode(tData, <b>X</b>"UTF8") <br>
<br>
<br>
Eva<br>
<br>
</font><br>
On 2010-10-07 00:50, Richard Gaskin wrote:
<blockquote cite="mid:4CACFD2C.7000904@fourthworld.com" type="cite">On
10/6/10 3:38 PM, Eva Isotalo wrote:
<br>
<blockquote type="cite">Thanks Shari, good to hear it's still
alive.
<br>
I have temporarily solved it by running through the file and
replacing
<br>
the "bad" letters. Done in a wink but not pretty. :)
<br>
</blockquote>
<br>
Try this:
<br>
<br>
put url ("binfile:"& tFilePath) into tData
<br>
set the unicodeText of fld "MyField" to uniencode(tData, "UTF8")
<br>
<br>
<br>
--
<br>
Richard Gaskin
<br>
Fourth World
<br>
LiveCode training and consulting: <a class="moz-txt-link-freetext" href="http://www.fourthworld.com">http://www.fourthworld.com</a>
<br>
Webzine for LiveCode developers: <a class="moz-txt-link-freetext" href="http://www.LiveCodeJournal.com">http://www.LiveCodeJournal.com</a>
<br>
LiveCode Journal blog: <a class="moz-txt-link-freetext" href="http://LiveCodejournal.com/blog.irv">http://LiveCodejournal.com/blog.irv</a>
<br>
_______________________________________________
<br>
metacard mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:metacard@lists.runrev.com">metacard@lists.runrev.com</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.runrev.com/mailman/listinfo/metacard">http://lists.runrev.com/mailman/listinfo/metacard</a>
<br>
</blockquote>
</body>
</html>