UTF-8 database check says a US7ASCII database is OK
GENERAL
TESTING
GENERAL
TESTING
Description
Activity
Show:

Jean-François Lévêque November 13, 2008 at 6:29 AM
2.5.x merge r54268

Jean-François Lévêque November 13, 2008 at 6:07 AM
Code change reviewed

Ian Boston May 17, 2008 at 7:06 PM
Removed log message so now the Log files will not report if the test passes, but will report if the test fails, as a failure is a good indication that the database is non UTF8. (pass is not and indication it is UTF8)

Ian Boston May 17, 2008 at 7:03 PM
Reopening ro remove erronious Ok statement.

Ian Boston May 17, 2008 at 7:03 PM
Ian Boston (JIRA) wrote:
What type is your XML field in the CONTENT_RESOURCE table ?
It's a LONG (probably a bad type for it to be) which I seem to
remember is a binary type even though it's just base64 text
that's being stored there.
I think my original point here is that a "UTF-8 check" should
NOT be reporting "OK" on a known, non-UTF8 database. This is
just totally misleading.
Seth
Fixed
Created September 26, 2007 at 2:26 PM
Updated October 27, 2009 at 3:06 PM
Resolved May 17, 2008 at 7:06 PM
Per:
http://thread.gmane.org/gmane.comp.cms.sakai.devel/16245
Sakai now includes a check "to ensure that your database and the connection to the database stored UTF-8 data correctly with no corruption."
However, on a US7ASCII database, the connection passes:
INFO: DB Connection passes UTF-8 tests (2007-09-26 11:14:49,216 main_org.sakaiproject.content.impl.DbContentService)