Skip to Content.
Sympa Menu

freetds - Re: [freetds] FreeTDS couldn't convert data row's from CP1251 to UTF-8, but field's name is converted

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddy77 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] FreeTDS couldn't convert data row's from CP1251 to UTF-8, but field's name is converted
  • Date: Wed, 20 Oct 2010 17:00:06 +0200

From log you are still using version 0.65 and your FreeTDS is not able
to set up correctly a conversion from cp1251 to utf8 (see line with
memcpy). Try using newer version and libiconv.

freddy77

2010/10/20 Михаил Гаврилов <mikhail.v.gavrilov AT gmail.com>:
> Hello:
>
> database:
>
> --Table: dbo.adres
>
> CREATE TABLE dbo.adres (
>  [Column 0]                    varchar(50),
>  [Системный номер]             varchar(50),
>  [Фамилия]                     varchar(50),
>  [Имя]                         varchar(50),
>  [Отчество]                    varchar(50),
>  [День рождения]               varchar(50),
>  [Срок регистрации]            varchar(50),
>  [Регистрация или пребывание]  varchar(50),
>  [Район]                       varchar(50),
>  [Город]                       varchar(50),
>  [Село]                        varchar(50),
>  [Улица]                       varchar(50),
>  [Дом]                         varchar(50),
>  [Корпус]                      varchar(50),
>  [Квартира]                    varchar(50),
>  [ОВД регистрации]             varchar(50),
>  [Паспорт серия]               varchar(50),
>  [Паспорт номер]               varchar(50),
>  [ОВД выдачи]                  varchar(50),
>  [Дата выдачи]                 varchar(50),
>  [Смена фамилии]               varchar(50),
>  [Прочие причины]              varchar(50),
>  [Дата изменения записи]       varchar(50),
>  [Дата прописки]               varchar(50),
>  [Вид адресного листка]        varchar(50),
>  [Column 25]                   varchar(50)
> )
> GO
>
> query: select top 5 * from adres
>
> Problem: FreeTDS couldn't convert data row's from CP1251 to UTF-8, but
> field's name is converted.
>
> Platform: Win32
>
> FreeTDS debug log is attached.
>
>
>
>
> --
> Best Regards,
> Mike Gavrilov.
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
>



Archive powered by MHonArc 2.6.24.

Top of Page