First time here? Check out the FAQ!
1

Using international characters and html5lib

I just installed askbot, when posting a question with international characters I always got MSG: pagesize.py:process_exception:43 [...] File "/usr/lib/python2.7/site-packages/html5lib/html5parser.py", line 110...

Javier Wilson's avatar
31
Javier Wilson
asked 2012-02-20 14:54:03 -0500
Evgeny's avatar
13.2k
Evgeny
updated 2012-03-10 19:42:28 -0500
edit flag offensive 0 remove flag close merge delete

Comments

1

Problem gets solved using patch posted here http://code.google.com/p/html5lib/issues/detail?id=184

Javier Wilson's avatar Javier Wilson (2012-02-20 14:54:49 -0500) edit

Please add it as a answer and mark as correct :-)

Fitoria's avatar Fitoria (2012-02-21 16:01:31 -0500) edit

Tagged as "fixed" but so far only in the github repository, will be in the release 0.7.40.

Evgeny's avatar Evgeny (2012-03-10 19:43:43 -0500) edit

Tagged as "fixed" but so far only in the github repository, will be in the release 0.7.40.

Evgeny's avatar Evgeny (2012-03-10 19:43:44 -0500) edit
add a comment see more comments

3 Answers

1

edited: problem solved in the repository thanks to Radim Řehůřek.

Now askbot works with html5lib version 0.95 too.

Evgeny's avatar
13.2k
Evgeny
answered 2012-02-21 18:29:31 -0500, updated 2012-03-10 19:41:43 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
1

Problem gets solved using patch posted here http://code.google.com/p/html5lib/issues/detail?id=184

Javier Wilson's avatar
31
Javier Wilson
answered 2012-02-21 18:42:48 -0500
edit flag offensive 0 remove flag delete link

Comments

imo it's better to just use a stable version of the library, at least for the official recipe, ofc the hackers can do whatever they want:)

Evgeny's avatar Evgeny (2012-02-21 18:46:34 -0500) edit

imo it's better to just use a stable version of the library, at least for the official recipe, ofc the hackers can do whatever they want:)

Evgeny's avatar Evgeny (2012-02-21 18:46:36 -0500) edit
add a comment see more comments
0

I have same issue too,I clear html5parser.py line 110 two parameter self,**kwargs ,It's working OK,but I don't know consequence of influence。

yangshuo's avatar
35
yangshuo
answered 2012-02-20 23:57:48 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments