Tag - python
Monday, January 10 2011
A custom Vimsh
By Johan on Monday, January 10 2011, 01:04 - The wonderful world of computer programming
Tuesday, August 10 2010
Unicode in Python and i18n in Fedora
By Johan on Tuesday, August 10 2010, 13:45 - Now geeking ...
When I was playing with the ports4dotclear system (see the previous post about it), I had to fix a number of Unicode handling errors in both Python and Perl. For those of you who do not know what is Unicode, it's the technology which allows me to write this kind of stuff: «æ€¶ŧ←»® or «你好世界».
I was forced to use Unicode because, well, XML-RPC communications are in XML and thus require the content to be encoded in UTF-8 (a Unicode encoding/decoding charset).
All this mess leads me to this conclusion : Unicode sucks in Python 2.x ! (and Fedora i18n has still some strange artifacts)
Friday, January 15 2010
XML-RPC on DotClear
By Johan on Friday, January 15 2010, 23:52 - network
XML-RPC is a protocol to remotely control a web application. Here is a short demo of XML-RPC to create, view and edit entry on the DotClear2 blog platform from the command line, using a tiny python script.