[Slashdotjp-dev 66] CVS update: slashjp/Slash/Utility/Data

Back to archive index

Oliver M. Bolzer olive****@users*****
2004年 12月 21日 (火) 18:08:43 JST


Date:	Tuesday December 21, 2004 @ 18:08
Author:	oliver

Update of /cvsroot/slashdotjp/slashjp/Slash/Utility/Data
In directory sf-cvs:/tmp/cvs-serv2849/Utility/Data

Modified Files:
	Data.pm 
Log Message:
- MAJOR DESIGN CHANGE: use UTF-8 everywhere as internal code, including DB
  * require Perl 5.8 and MySQL 4.1
  * DB/MySQL.pm: set UTF-8 flag for all data coming out of DB
      (requires patch from http://lists.mysql.com/perl/3000 to DBD::MySQL)
      TODO: check if mysql_enable_utf8 is actually settable
  * DB/MySQL.pm: call SET NAMES utf8 con sqlConnect
      TODO: call only for MySQL 4.1, or check error
  * DB/MySQL.pm: set UTF-8 flag on all SQL statements before issuing, otherwise
      mysterious reconversion (bytes of UTF-8 string re-encoded as if latin1)
      by Perl for some code paths, e.g. journal title/text.
      TODO: This is a hack. Needs further investigation
  * Utility/Data.pm: don't convert to/from EUC-JP before/after string
      manipulating code. Strings already have UTF-8 flag set. Basically
      revert back to original upstream code
  * Utility/Environment.pm: convert user input to UTF-8
  * Journal.pm: don't explictly declare Slash::DB::Utility as base class,
      to insure all DB calls go via Slash::DB::MySQL

===================================================================
File: no file Data.pm		Status: Needs Checkout

   Working revision:	1.4	Tue Dec 21 09:08:43 2004
   Repository revision:	1.4	/cvsroot/slashdotjp/slashjp/Slash/Utility/Data/Data.pm,v

   Existing Tags:
	R_2_3_0_113              	(revision: 1.1.1.1)
	oliver                   	(branch: 1.1.1)




Slashdotjp-dev メーリングリストの案内
Back to archive index