[ 2 posts ]

Roger Wiese

  • Username: fairport
  • Joined: Wed May 09, 2012 6:33 pm
  • Posts: 1
  • Offline
  • Profile

Cyrillic (Russian) Character being destroyed

Post Posted: Wed May 09, 2012 6:44 pm
+0-
I have found that yuicompressor is consistently changing one russian charater.

the letter "И" is being converted to "�?"

Only this letter is affected in a file that contains English, Russian, Spanish & Portuguese words

I am using the following apache ant syntax. Is this a bug?? Any clues??

Code:
    <target name="compress" depends="concatenate2" description="Compress application.js to application-min.js">
        <apply executable="java" parallel="false">
            <filelist dir="${build}" files="application.js"/>
            <arg line="-jar"/>
            <arg path="${utils}/yuicompressor-2.4.7/build/yuicompressor-2.4.7.jar"/>
            <srcfile/>
            <arg line="-o"/>
            <mapper type="glob" from="*.js" to="${build}/*-min.js"/>
            <targetfile/>
        </apply>
    </target>

ele83

  • Joined: Mon Jun 04, 2012 11:57 pm
  • Posts: 1
  • Offline
  • Profile

Re: Cyrillic (Russian) Character being destroyed

Post Posted: Mon Jun 04, 2012 11:59 pm
+0-
I suppose, you use UTF-8.
<encoding>UTF-8</encoding> will help you
  [ 2 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum