--- Comment #6 from Bawolff <bawolff...@gmail.com> 2010-11-01 18:44:31 UTC ---
Created attachment 7775
(naive) patch to make captcha.py work with unicode
(In reply to comment #1)
> If the source code of capatcha is one PHP. The functions which to generate my
> images with character strings are only in coding ANSI. That wants to say that
> Arab characters for example cannot be poster.
With some very minor changes to the script this is not true. For example I just
generated a bunch of hebrew captchas (just taking random words off the main
page of [[he:]]) and some Ukraine captchas (because it was the only non-latin
language who had a word list thats just an apt-get away).
My very minor changes included disabling the regex check that words don't match
/[^a-z]/. Presumably other languages would need an equivalent checks, and
checks to avoid words with diacritical marks (since those would i presume be
hard to see in captchas)
p.s. I don't know python, so the very minor changes in my example might not be
the "proper python way".
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list