<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>10558</bug_id>
          
          <creation_ts>2010-09-06 17:13:07 +0000</creation_ts>
          <short_desc>Amaya can not correctly handle utf-8 in style sheets</short_desc>
          <delta_ts>2014-11-05 15:58:34 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Amaya</product>
          <component>CSS</component>
          <version>11.3.1</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 3.1</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Usability</keywords>
          <priority>P1</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="J">amaya-doc</reporter>
          <assigned_to name="lcarcone">carcone</assigned_to>
          <cc>carcone</cc>
    
    <cc>dghrjyan</cc>
    
    <cc>emilien.kia</cc>
    
    <cc>fred.wang</cc>
    
    <cc>Irene.Vatton</cc>
    
    <cc>vincent.quint</cc>
          
          <qa_contact name="lcarcone">carcone</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>38490</commentid>
    <comment_count>0</comment_count>
    <who name="J">amaya-doc</who>
    <bug_when>2010-09-06 17:13:07 +0000</bug_when>
    <thetext>While creating a Stylesheet is no problem, there seems to be problems in handling.

Save the following contents in example.css (File&gt;Save as&gt;Charset: &quot;utf-8&quot;):
   @charset &quot;UTF-8&quot;;
   /**
   Example comment: asdf jklö äüß€ ÖÄÜ@  // bit exaggerated
   */
   ...

So it looks after re-opening in Amaya:
   Example comment: asdf jklÃ¶ Ã¤Ã¼Ãâ¬ ÃÃÃ@

Save the example (eg with Notepad++ or another) as utf-8 without BOM, and re-open in Amaya:
   Example comment: asdf jklÃ¶ Ã¤Ã¼Ãâ¬ ÃÃÃ@

Save the example (eg with Notepad++ or another) as utf-8 with BOM, and re-open in Amaya:
   ï»¿@charset &quot;UTF-8&quot;;
   Example comment: asdf jklÃ¶ Ã¤Ã¼Ãâ¬ ÃÃÃ@

It seems that Amaya doesn&apos;t correctly can save utf-8 style sheets nor can open.

Possible solution:
+ delete an existing BOM (after user demand [y/n])
+ check the first line to see if a &quot;charset&quot; is specified.

OS: Windows XP/Vista/7 Ubuntu 10.4</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>