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

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

    <bug>
          <bug_id>16301</bug_id>
          
          <creation_ts>2008-07-07 23:34:17 +0400</creation_ts>
          <short_desc>вставляет слова из словаря без перекодировки</short_desc>
          <delta_ts>2008-09-12 10:58:12 +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>hunspell</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>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="kirill">kirill</reporter>
          <assigned_to name="Valery Inozemtsev">shrek</assigned_to>
          <cc>dottedmag</cc>
    
    <cc>lav</cc>
    
    <cc>shrek</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>73769</commentid>
    <comment_count>0</comment_count>
    <who name="kirill">kirill</who>
    <bug_when>2008-07-07 23:34:17 +0400</bug_when>
    <thetext>В режиме интерактивной проверки при замене слова вставляет слово из словаря 
as is (в случае russian-io -- koi8-r), без перекодировки. 
Указание кодировки в опции -i на это поведение не влияет. 

$ echo $LANG
ru_RU.UTF-8
$ cat q
утройство имеет аппаратную поддержку
$ hunspell -d ru_RU q
...
$ cat q
ÕÓÔÒÏÊÓÔ×Ï имеет аппаратную поддержку

Воспроизводится со словарями ru_RU, ru_RU_io</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73771</commentid>
    <comment_count>1</comment_count>
    <who name="Valery Inozemtsev">shrek</who>
    <bug_when>2008-07-07 23:52:56 +0400</bug_when>
    <thetext>да, есть такое. как вариант - перекодировать словари в utf-8</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73772</commentid>
    <comment_count>2</comment_count>
    <who name="kirill">kirill</who>
    <bug_when>2008-07-07 23:59:11 +0400</bug_when>
    <thetext>(In reply to comment #1)
&gt; да, есть такое. как вариант - перекодировать словари в utf-8
Нет, это не решение, просто подвержены ошибке вместо этого окажутся
тексты во всех кодировках, кроме utf8. Это по существу ничем не отличается
от наличной ситуации.

Исправлять, так уж по-честному, чтобы выводило в указанной кодировке. 
Есть же опция -i, не для этого ли она? $LANG, опять же, как разумный дефолт.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73773</commentid>
    <comment_count>3</comment_count>
    <who name="Valery Inozemtsev">shrek</who>
    <bug_when>2008-07-08 00:04:33 +0400</bug_when>
    <thetext>шлите патчи</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73774</commentid>
    <comment_count>4</comment_count>
    <who name="kirill">kirill</who>
    <bug_when>2008-07-08 00:11:42 +0400</bug_when>
    <thetext>(In reply to comment #3)
&gt; шлите патчи

Я всего лишь юзер. 

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73775</commentid>
    <comment_count>5</comment_count>
    <who name="Mikhail Gusarov">dottedmag</who>
    <bug_when>2008-07-08 00:13:05 +0400</bug_when>
    <thetext>Значит пусть так и висит, пока кто-нибудь не починит.

Можно ещё в upstream пожаловаться.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77173</commentid>
    <comment_count>6</comment_count>
    <who name="Valery Inozemtsev">shrek</who>
    <bug_when>2008-09-06 19:13:34 +0400</bug_when>
    <thetext>hunspell-1.2.7</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>