summaryrefslogtreecommitdiffabout
path: root/scm/dictrans.scm
authorSergey Poznyakoff <gray@gnu.org.ua>2005-03-29 16:20:06 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2005-03-29 16:20:06 (GMT)
commit2e4d2e4cf75ab8e249753c3b6ad799f7121eeb52 (patch) (side-by-side diff)
tree7c55f09b8ede44ec5eaa9bab5c0c461aebdfff16 /scm/dictrans.scm
parenta8de7ec2c5672f84fe99aeae989c3fa4bd66e940 (diff)
downloadellinika-2e4d2e4cf75ab8e249753c3b6ad799f7121eeb52.tar.gz
ellinika-2e4d2e4cf75ab8e249753c3b6ad799f7121eeb52.tar.bz2
Set utf8 mode (for mysql >= 4.1.10)
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@320 941c8c0f-9102-463b-b60b-cd22ce0e6858
Diffstat (limited to 'scm/dictrans.scm') (more/less context) (ignore whitespace changes)
-rw-r--r--scm/dictrans.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/scm/dictrans.scm b/scm/dictrans.scm
index 8c872c4..39791fd 100644
--- a/scm/dictrans.scm
+++ b/scm/dictrans.scm
@@ -974,6 +974,8 @@ Informational options:
(display "Cannot connect to the database\n" (current-error-port))
(exit 1)))
+ (run-query conn "SET NAMES utf8")
+
(read-pos conn)
(for-each

Return to:

Send suggestions and report system problems to the System administrator.