Just a thought.  Is Witango relying on single byte character sets?  swish-e 
spider (perl) has a long-standing issue with mutlibyte character sets messing 
up things because it uses a byte count that differs from the character count.  
Perhaps witangod uses functions like tolower(), which depend on the user locale?
On Mar 10, 2011, at 7:29 PM, Robert Shubert wrote:

> Wayne,
>
> Smart workaround.
>
> It was brought to my attention on Tuesday that @URL on OSX seems to be 
> introducing some sort of data corruption. Your report is corroborating it. I 
> haven’t reproduced the problem myself yet, so I’m still investigating. 
> Obviously, I’ll get to the bottom of this and have it fixed up in the next 
> release.
>
> Thanks,
>
> Robert
>
> From: Wayne Irvine [mailto:[email protected]]
> Sent: Thursday, March 10, 2011 9:11 PM
> To: [email protected]
> Subject: Re: Witango-Talk: Strange characters.
>
> In the meantime I did some string slicing to get around the problem:
>
> <@ASSIGN NAME=homepage SCOPE=request VALUE="<@URL 
> location='http://<@HTTPATTRIBUTE NAME=SERVER_NAME>/pages/home.taf'>">
> <@ASSIGN NAME=startpos SCOPE=request VALUE="<@LOCATE STR=@@request$homepage 
> FINDSTR='<!DOC'>">
> <@ASSIGN NAME=endpos SCOPE=request VALUE="<@LOCATE STR=@@request$homepage 
> FINDSTR='</html>'>">
> <@ASSIGN NAME=substrlen SCOPE=request VALUE="<@CALC 
> EXPR='@@request$endpos-@@request$startpos'>">
> <@SUBSTRING STR=@@request$homepage START=@@request$startpos 
> NUMCHARS=@@request$substrlen>
>
> Seems to work pretty well.
>
> http://photoimaging.byteserve.com.au/
>
> Wayne
>
>
> To unsubscribe from this list, please send an email to [email protected] 
> with "unsubscribe witango-talk" in the body.
>
> To unsubscribe from this list, please send an email to [email protected] 
> with "unsubscribe witango-talk" in the body.




----------------------------------------

To unsubscribe from this list, please send an email to [email protected] 
with "unsubscribe witango-talk" in the body.

Reply via email to