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

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

    <bug>
          <bug_id>11495</bug_id>
          
          <creation_ts>2007-04-13 17:29:38 +0400</creation_ts>
          <short_desc>assumed locale/encoding</short_desc>
          <delta_ts>2008-04-02 16:34:09 +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>python</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</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="kirill">kirill</reporter>
          <assigned_to name="Ivan Zakharyaschev">imz</assigned_to>
          <cc>cow</cc>
    
    <cc>george</cc>
    
    <cc>glebfm</cc>
    
    <cc>imz</cc>
    
    <cc>vyt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>48773</commentid>
    <comment_count>0</comment_count>
    <who name="kirill">kirill</who>
    <bug_when>2007-04-13 17:29:39 +0400</bug_when>
    <thetext>$ file index.m-k 
index.m-k: UTF-8 Unicode text
$ ALDConvert -t index.m-k 
Traceback (most recent call last):
  File &quot;/usr/libexec/ALDConvert/ALDConvert.py&quot;, line 86, in ?
    locale.setlocale(locale.LC_ALL,&apos;.&apos;.join(curlocale))
  File &quot;/usr/lib64/python2.4/locale.py&quot;, line 381, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49021</commentid>
    <comment_count>1</comment_count>
    <who name="Fr. Br. George">george</who>
    <bug_when>2007-04-18 02:01:29 +0400</bug_when>
    <thetext>ALDConvert -h |&amp; grep -i locale</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49070</commentid>
    <comment_count>2</comment_count>
    <who name="kirill">kirill</who>
    <bug_when>2007-04-18 15:20:15 +0400</bug_when>
    <thetext>(In reply to comment #1)
&gt; ALDConvert -h |&amp; grep -i locale

$ file index.m-k 
index.m-k: UTF-8 Unicode text
$ LC_ALL=ru_RU.KOI8-R ALDConvert -t index.m-k
$ LC_ALL=ru_RU.KOI8-R ALDConvert -t index.m-k -L ru_RU.UTF-8
$ LC_ALL=POSIX ALDConvert -t index.m-k
$ LC_ALL=POSIX ALDConvert -t index.m-k -L ru_RU.UTF-8
$ LC_ALL=ru_RU.UTF-8 ALDConvert -t index.m-k               
Traceback (most recent call last):
  File &quot;/usr/libexec/ALDConvert/ALDConvert.py&quot;, line 86, in ?
    locale.setlocale(locale.LC_ALL,&apos;.&apos;.join(curlocale))
  File &quot;/usr/lib64/python2.4/locale.py&quot;, line 381, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
$ LC_ALL=ru_RU.UTF-8 ALDConvert -t index.m-k -L ru_RU.UTF-8
Traceback (most recent call last):
  File &quot;/usr/libexec/ALDConvert/ALDConvert.py&quot;, line 86, in ?
    locale.setlocale(locale.LC_ALL,&apos;.&apos;.join(curlocale))
  File &quot;/usr/lib64/python2.4/locale.py&quot;, line 381, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
$</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50044</commentid>
    <comment_count>3</comment_count>
    <who name="Fr. Br. George">george</who>
    <bug_when>2007-05-09 22:03:00 +0400</bug_when>
    <thetext>Галлюциноген Питона!
&gt;&gt;&gt; import locale
&gt;&gt;&gt; locale.setlocale(locale.LC_ALL,&quot;ru_RU.UTF-8&quot;)
&apos;ru_RU.UTF-8&apos;
&gt;&gt;&gt; locale.getlocale()
(&apos;ru_RU&apos;, &apos;utf&apos;)
&gt;&gt;&gt; locale.setlocale(locale.LC_ALL,&quot;ru_RU.UTF&quot;)
Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in ?
  File &quot;/usr/lib/python2.4/locale.py&quot;, line 381, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50255</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2007-05-15 20:50:13 +0400</bug_when>
    <thetext>I&apos;ll take care.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50257</commentid>
    <comment_count>5</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2007-05-15 20:51:22 +0400</bug_when>
    <thetext>Fixed in 2.4.4-alt12.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>