URL File extra spaces

Thomas McGrath III mcgrath3 at mac.com
Sat Mar 9 13:30:41 EST 2013


Peter,

I realized after I sent that email that I needed replace instead of filter. But of course that is not the cause of the issue. I think it must be a UTF issue. For now I came up with another workaround.

Thanks
Tom

-- Tom McGrath III
http://lazyriver.on-rev.com
mcgrath3 at mac.com

On Mar 9, 2013, at 12:22 PM, "Peter M. Brigham" <pmbrig at gmail.com> wrote:

> I recall a thread on this problem a year or two ago, can't find in in Gmane, though. It did have to do with UTF-8 vs UTF-16. You have to unidecode the text then uniencode it again (or vice versa) to change it from UTF-16 to UTF-8 (or vice versa). Sorry I can't recall the details.
> 
> As far as the filter command, your problem is that filter only works on whole lines (check the dictionary for the filter command). "Filter tContainer without space" will only delete any lines that consist of a space. You could use the "replace" command instead:
> 
> replace space with empty in fld "Input"
> 
> but that would take out word divisions as well. Best to work out the UTF problem, probably.
> 
> -- Peter
> 
> Peter M. Brigham
> pmbrig at gmail.com
> http://home.comcast.net/~pmbrig





More information about the use-livecode mailing list