[ic] Code convert of Form input data

Stefan Hornburg Racke interchange-users@interchange.redhat.com
Tue Nov 20 02:35:01 2001


murahashi <murahashi@ayayu.com> writes:

> Two manths ago, I asked about input-filter, but I was not able to have a
> solution.
> Mike, Thanks for your answer at that time.
> Again, I tried some cases but not yet.
> 
> > Presumably you would use an external module to convert it, in which
> > case you would make a global UserTag to access it, and your code
> > inside the filter would look like "$val = $Tag->your_convert_tag($val)".
> 
> I have global Usertag like sjis and it works well like this.
>  [sjis]xxxx[/sjis]
> 
> But the following filter have an error in error.log.
> [input-filter name=mv_searchspec]
> my $val = $CGI->{mv_searchspec};
> $val = $Tag->sjis($val);
> return $val;
> [/input-filter]
> 
> 
> <<error.log>>
> 211.124.7.107 VWjQ44Cc:211.124.7.107 - [20/November/2001:11:27:40 +0900]
> foundation /cgibin/foundation.cgi/search.html Safe: unpack trapped by
> operation mask at /home/sites/home/interchange/lib/jcode.pl line 506.

Hm, does it work within [calc] or [perl] ?

Ciao
        Racke

-- 
Die Erde bleibt keine Scheibe. --- The earth remains no disk.

For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)