UTF-8

Martin Haanz - May 18, 2006 - 22:03
Project:Webform
Version:4.7.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:quicksketch
Status:closed
Description

I installed webform, and those were the only tables in my drupal database that weren't using the utf8 charset.

Perhaps you can add something like

"CHARACTER SET utf8
COLLATE utf8_general_ci"

to the end of your install queries?

Thanks.

AttachmentSize
webform.install8.01 KB

#1

Martin Haanz - May 18, 2006 - 22:04

Here's another attachment with my revisions.

AttachmentSize
webform.mysql 1.58 KB

#2

quicksketch - May 19, 2006 - 06:07
Assigned to:Anonymous» quicksketch
Status:active» fixed

Thanks for the post.

Instead of modifying the .install file as you suggested, I ran _system_update_utf8 instead in an update to the webform database schema. I modeled this after the views.install file. I assume you've already fixed your tables, but other users can simply download the new install file and run update.php.

The COLLATE command wasn't working on my installation of mySQL (4.0.25), so I ommitted it from the mySQL file. Hopefully no one will be using this file anyway.

#3

Anonymous - June 2, 2006 - 06:15
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.