<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>13448</bug_id>
          
          <creation_ts>2007-11-16 14:10:51 +0300</creation_ts>
          <short_desc>Не указывается кодировка клиента при подключении к БД (веб интерфейс)</short_desc>
          <delta_ts>2008-06-13 13:01:01 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>atslog-web</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander Andreev">alexanderandreev</reporter>
          <assigned_to name="Andrew Kornilov">hiddenman</assigned_to>
          
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>58271</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Andreev">alexanderandreev</who>
    <bug_when>2007-11-16 14:10:52 +0300</bug_when>
    <thetext>При подключении веб интерфейса к PostgreSQL не указывается кодировка клиента.
Это приводит к невозможности сохранения в БД русского текста.
Предлагаю patch для файла atslog/include/set/functions.php</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58274</commentid>
    <comment_count>1</comment_count>
      <attachid>2274</attachid>
    <who name="Alexander Andreev">alexanderandreev</who>
    <bug_when>2007-11-16 14:12:58 +0300</bug_when>
    <thetext>Created attachment 2274
Patch для указания кодировки клиента при подключении к PostgreSQL</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58322</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Andreev">alexanderandreev</who>
    <bug_when>2007-11-17 22:44:22 +0300</bug_when>
    <thetext>Забыл указать, что указанная проблема возникает в том случае, если кодировка БД
отлична от cp1251.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72065</commentid>
    <comment_count>3</comment_count>
    <who name="Mikhail Gusarov">dottedmag</who>
    <bug_when>2008-06-13 13:00:39 +0400</bug_when>
    <thetext></thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>2274</attachid>
            <date>2007-11-16 14:12:58 +0300</date>
            <delta_ts>2007-11-16 14:12:58 +0300</delta_ts>
            <desc>Patch для указания кодировки клиента при подключении к PostgreSQL</desc>
            <filename>functions.php.patch</filename>
            <type>text/plain</type>
            <size>403</size>
            <attacher name="Alexander Andreev">alexanderandreev</attacher>
            
              <data encoding="base64">LS0tIGZ1bmN0aW9ucy5waHAub3JpZyAgMjAwNy0xMS0xNiAxMzozMDo0MiArMDMwMA0KKysrIGZ1
bmN0aW9ucy5waHAgICAgICAgMjAwNy0xMS0xNiAxMzozODo1MCArMDMwMA0KQEAgLTEzNyw2ICsx
MzcsMTQgQEANCg0KIGlmKCRkZWJ1Zz09MikgJGNvbm4tPmRlYnVnID0gdHJ1ZTsNCg0KK2lmKCRz
cWx0eXBlID09ICJQb3N0Z3JlU1FMIil7DQorICAgIC8vINPx8uDt7uLq4CDq7uTo8O7i6ugg6uvo
5e3y4A0KKyAgICAkcV9zZXRfZW5jID0gJ1NFVCBDTGllbnRfRW5jb2Rpbmc9d2luZG93czEyNTEn
Ow0KKyAgICAkY29ubi0+RXhlY3V0ZSgkcV9zZXRfZW5jKTsNCit9ZWxzZXsNCisgICAgLy8g0/Hy
4O3u4urgIOru5Ojw7uLq6CDq6+jl7fLgDQorfQ0KKw0KDQogIC8qDQogICAgzu/o+OXsIPTz7er2
6OgNCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>