ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Andrey Brindeew <linux@abr.x9.ru>
To: ALTLinux Mailing List <mandrake-russian@altlinux.ru>
Subject: [mdk-re] MySQL & character sets
Date: Tue Aug 28 12:55:01 2001
Message-ID: <20010828085012.370532113@abr.tool.ru> (raw)

[-- Attachment #1: Type: text/plain, Size: 876 bytes --]

Hi!

А для чего, собственно, предназначены параметры "Client characterset" &
"Server characterset", выводимые консольным клиентом mysql? На нашем
хостере кодировка сервера выставлена в cp1251, а скрипты и все данные - в
koi8_ru. Посему идет неправильная сортировка. Докопавшись до этих опций я
было обрадовался - выставил для сервера cp1251 у себя локально, для
клиента - koi8_ru - но данные не изменились. Выходит, что клиент не
перекодирует данные. И этот параметр влияет только на сортировку? (Зачем
тогда параметр client characterset? Было бы достаточно одного server
charset). Пока пользуюсь тупой схемой: где-то год назад мной была написана
"прокся" (перловый модуль) - прокладка между DBI и скриптами, которая и
занимается прозрачным перекодированием.

Есть способ лучше?

-- 
WBR, Andrey Brindeew.
"No one person can understand Perl culture completely"
(C) Larry Wall.

[-- Attachment #2: Type: application/pgp-signature, Size: 245 bytes --]

             reply	other threads:[~2001-08-28 12:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-28 12:55 Andrey Brindeew [this message]
2001-08-28 13:41 ` [mdk-re] MySQL & character sets (locale) Andrey Brindeew
2001-08-28 16:17   ` Dmitry Levashov
2001-08-29 16:42     ` Re[2]: " Merenkov Vl
2001-08-29 21:14       ` Aleksey Novodvorsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010828085012.370532113@abr.tool.ru \
    --to=linux@abr.x9.ru \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git