From: W. Trevor King Date: Fri, 19 Mar 2010 11:18:13 +0000 (-0400) Subject: Merged Anton Batenev's report of Nicolas Alvarez' unicode-in-be-new bug X-Git-Tag: 1.0.0~59^2~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=83cdb4afa89cb6ef5dc29561cb89ebd869336503;p=be.git Merged Anton Batenev's report of Nicolas Alvarez' unicode-in-be-new bug --- 83cdb4afa89cb6ef5dc29561cb89ebd869336503 diff --cc .be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/b3562f08-ad27-4b9f-8d21-8b58ba6d9eac/comments/2a51d90a-d47e-4a67-abe7-cce19c1eafad/body index 0000000,0000000..3195bea new file mode 100644 --- /dev/null +++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/b3562f08-ad27-4b9f-8d21-8b58ba6d9eac/comments/2a51d90a-d47e-4a67-abe7-cce19c1eafad/body @@@ -1,0 -1,0 +1,21 @@@ ++> $ be new 'utf8 string' ++> Traceback (most recent call last): ++> ... ++> UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 95: ordinal not in range(128) ++ ++(bug reported against cjb@laptop.org-20091006145647-kqkmoh481tl5hvt4) ++ ++This was fixed with revision ++ wking@drexel.edu-20091117145118-jltbju9thsn5xvkv ++in my branch on Nov. 17, 2009. ++ ++> I think it is more correct to use UTF-8 everywhere or use ++> locale.getdefaultlocale() instead sys.getdefaultencoding(). ++ ++We try to use unicode strings internally, it's input/output that's ++difficult. This particular bug turned out to be related to our ++mapfile storage handling. Take a look at the be.unicode-hg branch ++leading up to revision ++ wking@drexel.edu-20091117145118-jltbju9thsn5xvkv ++for details. ++ diff --cc .be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/b3562f08-ad27-4b9f-8d21-8b58ba6d9eac/comments/2a51d90a-d47e-4a67-abe7-cce19c1eafad/values index 0000000,0000000..c79c578 new file mode 100644 --- /dev/null +++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/b3562f08-ad27-4b9f-8d21-8b58ba6d9eac/comments/2a51d90a-d47e-4a67-abe7-cce19c1eafad/values @@@ -1,0 -1,0 +1,11 @@@ ++Author: W. Trevor King ++ ++ ++Content-type: text/plain ++ ++ ++Date: Fri, 19 Mar 2010 11:16:16 +0000 ++ ++ ++In-reply-to: 854eec21-2eeb-4ed4-af35-7a4a2e1f2e98 ++ diff --cc .be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/b3562f08-ad27-4b9f-8d21-8b58ba6d9eac/comments/854eec21-2eeb-4ed4-af35-7a4a2e1f2e98/body index 0000000,2a05cbd..2a05cbd mode 000000,100644..100644 --- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/b3562f08-ad27-4b9f-8d21-8b58ba6d9eac/comments/854eec21-2eeb-4ed4-af35-7a4a2e1f2e98/body +++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/b3562f08-ad27-4b9f-8d21-8b58ba6d9eac/comments/854eec21-2eeb-4ed4-af35-7a4a2e1f2e98/body diff --cc .be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/b3562f08-ad27-4b9f-8d21-8b58ba6d9eac/comments/854eec21-2eeb-4ed4-af35-7a4a2e1f2e98/values index 0000000,68e1d55..68e1d55 mode 000000,100644..100644 --- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/b3562f08-ad27-4b9f-8d21-8b58ba6d9eac/comments/854eec21-2eeb-4ed4-af35-7a4a2e1f2e98/values +++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/b3562f08-ad27-4b9f-8d21-8b58ba6d9eac/comments/854eec21-2eeb-4ed4-af35-7a4a2e1f2e98/values diff --cc .be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/b3562f08-ad27-4b9f-8d21-8b58ba6d9eac/values index 0000000,6e1f957..5dda50d mode 000000,100644..100644 --- a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/b3562f08-ad27-4b9f-8d21-8b58ba6d9eac/values +++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/b3562f08-ad27-4b9f-8d21-8b58ba6d9eac/values @@@ -1,0 -1,17 +1,17 @@@ + creator: Anton Batenev + + + reporter: Anton Batenev + + + severity: minor + + -status: open ++status: fixed + + + summary: UTF-8 problems + + + time: Tue, 16 Mar 2010 12:40:01 +0000 +