]> git.koha-community.org Git - koha.git/commit
utf8 is a : go for beta test in HEAD.
authortipaul <tipaul>
Wed, 4 Jan 2006 15:54:55 +0000 (15:54 +0000)
committertipaul <tipaul>
Wed, 4 Jan 2006 15:54:55 +0000 (15:54 +0000)
commitc40f8c923f48cc5261fd91891b50cde82191b673
treeb337de160a1b436ee38e35c38ea2a7f97d95bdc5
parent09d82dc0aab369ff8a46a7db65f2baf5fd726470
utf8 is a : go for beta test in HEAD.
some explanations :
- updater/updatedatabase => will transform all tables in innoDB (not related to utf8, just to warn you) AND collate them in utf8 / utf8_general_ci. The SQL command is : ALTER TABLE tablename DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci.
- *-top.inc will show the pages in utf8
- THE HARD THING : for me, mysql-client and mysql-server were set up to communicate in iso8859-1, whatever the mysql collation ! Thus, pages were improperly shown, as datas were transmitted in iso8859-1 format ! After a full day of investigation, someone on usenet pointed "set NAMES 'utf8'" to explain that I wanted utf8. I could put this in my.cnf, but if I do that, ALL databases will "speak" in utf8, that's not what we want. Thus, I added a line in Context.pm : everytime a DB handle is opened, the communication is set to utf8.
- using marcxml field and no more the iso2709 raw marc biblioitems.marc field.
21 files changed:
C4/Biblio.pm
C4/Context.pm
koha-tmpl/intranet-tmpl/default/en/includes/about-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/acquisitions-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/auth-search-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/auth-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/bull-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/cat-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/circulation-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/error-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/help-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/marc-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/members-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/neutral-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/opac-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/parameters-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/popup-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/quicksearch-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/reports-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/reportswcal-top.inc
updater/updatedatabase