[Seaside] convert from quad-byte single or double quote characters to single byte?
Johan Brichau
johan at inceptive.be
Wed Dec 26 18:19:09 UTC 2018
Paul,
What is the ‘bug’?
People can submit all kinds of unicode characters, so handling these specifically would not make much sense imho.
But I think we need more info your bug, platform and seaside version.
cheers
Johan
> On 26 Dec 2018, at 17:44, PAUL DEBRUICKER <pdebruic at gmail.com> wrote:
>
> Hi -
>
> I'm getting a bug when someone submits a form with smart quotes in it. e.g.
>
> Braun’s
>
>
> (The quote mark there is a Unicode16 right single quote - char 8217 - http://www.codetable.net/decimal/8217)
>
>
> Is there a recommended way to convert all unicode single or double quotes to their ascii equivalents? Or should I think about processing these strings differently? I'm not at all concerned about displaying the "smart quotes" to the user ever again.
>
>
> Thanks
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
More information about the seaside
mailing list