[MTOS-dev] Movable Type Open Source 4.1 Stable Released

Reed A. Cartwright reed at scit.us
Thu Jan 24 18:41:48 PST 2008


Erik R. Ogan wrote:
> 
> Erm. I hadn't noticed any UTF-8 issues with PostgreSQL (yet). Would you
> mind if I "borrowed" your patches until the bugs are fixed? :)

I've attached a patch with all my diffs.  It can be applied from the MT 
directory.  You can also download the patch from [1].

The first part of the patch fixes an issue where utf8 text grabbed from 
the pgsql database is not properly encoded before showing up in, say 
edit comment pages, in the dashboard.  It won't make a difference if you 
are using a perl earlier than 5.6.

The other parts fix issues that arise after the first part is fixed. 
MT's utf8 support is somewhat hackish.  I'd love a project that cleans 
it up.

MT 4.0 had issues with clobering utf8 text in the comment preview app. 
I don't know if 4.1 has this issue since I fixed it in my dispatcher.  A 
similar fix can be made to MT::Bootstrap if anyone is having this issue 
with comment preview.

[1] http://scit.us/~reed/utf8-4.1.patch.txt


-- 
*********************************************************
Reed A. Cartwright, PhD     http://scit.us/
Postdoctoral Researcher     http://www.dererumnatura.us/
Department of Genetics      http://www.pandasthumb.org/

Bioinformatics Research Center
North Carolina State University
Campus Box 7566
Raleigh, NC 27695-7566

Cuiusvis hominis est errare, nullius nisi
insipientis in errore perserverare. --Cicero
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: utf8-4.1.patch
Url: http://www.sixapart.com/pipermail/mtos-dev/attachments/20080124/ac8145f4/attachment.pl 


More information about the MTOS-dev mailing list