ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [mdk-re] MySQL & character sets
@ 2001-08-28 12:55 Andrey Brindeew
  2001-08-28 13:41 ` [mdk-re] MySQL & character sets (locale) Andrey Brindeew
  0 siblings, 1 reply; 5+ messages in thread
From: Andrey Brindeew @ 2001-08-28 12:55 UTC (permalink / raw)
  To: ALTLinux Mailing List

[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-08-29 21:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-28 12:55 [mdk-re] MySQL & character sets Andrey Brindeew
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

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