Hi,
I have already reached a dead end, although I am still at the
beginning of my project.
Perhaps somebody can help me out of this mess:
I am trying to write a tool to browse data in databases. Unfortunately
the database I am working with
is a ms-sql database which has german umlauts in its
Hi,
Saibot wrote:
v = quote_plus(str(v))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xdf' in
position 6: ordinal not in range(128)
Can anybody explain me what I am doing wrong?
Wrong encoding. \xdf is from cp125x or similar encoding. Try following:
v.decode('cp1250') or
On Tue, Apr 29, 2008 at 1:56 AM, Saibot [EMAIL PROTECTED] wrote:
Hi,
I have already reached a dead end, although I am still at the
beginning of my project.
Perhaps somebody can help me out of this mess:
I am trying to write a tool to browse data in databases. Unfortunately
the
Sorry for bothering you with this crap. I have just upgraded to routes
1.8 and everything works fine now.
Thank you none the less.
On 29 Apr., 08:56, Saibot [EMAIL PROTECTED] wrote:
Hi,
I have already reached a dead end, although I am still at the
beginning of my project.
Perhaps somebody
After upgrading to routes 1.8, everything works as it should!
Thank you!
On 29 Apr., 11:26, Dalius Dobravolskas [EMAIL PROTECTED]
wrote:
Hi,
Saibot wrote:
v = quote_plus(str(v))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xdf' in
position 6: ordinal not in range(128)
On Apr 29, 2008, at 6:55 AM, Saibot wrote:
After upgrading to routes 1.8, everything works as it should!
Thank you!
Also note that the mapper (defined in routing.py) can have its
encoding set should you not be using the 'utf-8' charset that it
defaults to.
map.encoding = 'cp1250'
Will