ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Gleb Kouzmenko <gleb@infomos.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] postgresql & odbc
Date: Wed Mar 13 12:13:09 2002
Message-ID: <3C8F1A6A.8010802@infomos.ru> (raw)
In-Reply-To: <20020313113328.051fabde.kosha@kp.ru>

Korshunov Ilya wrote:

> Wed, 13 Mar 2002 11:19:41 +0300
> Любимов А.В. <avl@l14.ru> Писал:
> 
> 
>>On Wed, 13 Mar 2002 11:15:36 +0300
>>"Korshunov Ilya" <kosha@kp.ru> wrote:
>>
>>
>>>>а зачем кои-8.
>>>>win1251 у меня читает только в путь.
>>>>
>>>Есть некторые проблемки в сосуществовании macos и win1251. Оно лучше
>>>koi8 жрёть. А 1251е базы у меня есть но те котрыми пользуются
>>>исключетильно с pc. 
>>>
>>речь шла не об исходной кодировке, а о кодировке, задаваемой клиентом.
>>все должно автоматом конвертироваться. а внутри базы лучше всего держать utf-8.
>>правда, проблемы тут тоже возможны. причем у всех :)
>>
> угу))).
> 
> Не понял а как задавать кодировку клиентом ?? Ни в odbc драйвере ни в M$ Access я такой опции не нашёл.



ODBC setup(your Postgresql DSN)->
Advanced Options->
Connect Settings= SET CLIENT_ENCODING='WIN';

> Правда в дополнение к odbc на ftp.postgresql.org и мирорах лежит в zip'е некая dll'ка под названием koi8pgsql.zip
> но она без инструкции и причём битая и архив не раскрывается. 

Можно и ее (где-то видел и целый архив).
Прописывается руками в реестре (keyword: TranslationDll).
Имеет смысл использовать, если база в koi8-r не умеет SET 
CLIENT_ENCODING='WIN';


Глеб




  reply	other threads:[~2002-03-13 12:13 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-12 20:42 Korshunov Ilya
2002-03-13  6:06 ` Alexei Takaseev
2002-03-13  9:23   ` Korshunov Ilya
2002-03-15 20:37     ` Alexei Takaseev
2002-03-13 11:00 ` Maxim
2002-03-13 11:06   ` Korshunov Ilya
2002-03-13 11:13     ` Любимов А.В.
2002-03-13 11:23       ` Korshunov Ilya
2002-03-13 12:13         ` Gleb Kouzmenko [this message]
2002-03-13 12:19           ` Korshunov Ilya
2002-03-13 16:51             ` AVL
2002-03-13 17:27               ` Korshunov Ilya
2002-03-13 17:31               ` Re[2]: " Sergey Krivulja
2002-03-15 20:37             ` Alexei Takaseev
2002-03-16 13:32               ` Korshunov Ilya
2002-03-13 12:10       ` [mdk-re] [JT] postgresql & odbc (про кодировки) Maxim
2002-03-13 12:14         ` Korshunov Ilya
2002-03-13 13:08         ` [mdk-re] " Mikhail Zabaluev
2002-03-13 13:56           ` [mdk-re] ethernet-card Mika
2002-03-13 14:24         ` [mdk-re] Re: [mdk-re] [JT] postgresql & odbc (про кодировки) Sergey Krivulja
2002-03-13 15:44           ` Maxim
2002-03-13 16:45             ` AVL
2002-03-14  2:17               ` [mdk-re] " Mikhail Zabaluev
2002-03-14  2:40                 ` Любимов А.В.
2002-03-14  2:56                   ` Aleksey Novodvorsky
2002-03-14  6:04                     ` Любимов А.В.
2002-03-14 13:12                     ` [mdk-re] Re[2]: " Maksim Otstavnov
2002-03-14 17:25                       ` [mdk-re] Re[2]: [mdk-re] Re: [JT] postgresql & odbc ( про кодировки) Aleksey Novodvorsky
2002-03-13 19:06             ` [mdk-re] Re: [mdk-re] [JT] postgresql & odbc (про кодировки) Maksim Otstavnov

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=3C8F1A6A.8010802@infomos.ru \
    --to=gleb@infomos.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