<?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>9483</bug_id>
          
          <creation_ts>2010-04-11 07:04:37 +0000</creation_ts>
          <short_desc>CSS file MIME type and/or Charset not retained upon opening</short_desc>
          <delta_ts>2010-04-11 10:34:11 +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>Macintosh</rep_platform>
          <op_sys>MacOS X</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>alex.cruice</reporter>
          <assigned_to name="Vatton">Irene.Vatton</assigned_to>
          <cc>carcone</cc>
    
    <cc>emilien.kia</cc>
    
    <cc>fred.wang</cc>
    
    <cc>Irene.Vatton</cc>
    
    <cc>vincent.quint</cc>
          
          <qa_contact name="Vatton">Irene.Vatton</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>34732</commentid>
    <comment_count>0</comment_count>
    <who name="">alex.cruice</who>
    <bug_when>2010-04-11 07:04:37 +0000</bug_when>
    <thetext>Amaya 11.3.1 (Dec 9 2009)
Mac OS X 10.6.3 (10D573)

I&apos;ve been able to reliably reproduce the bug following these steps:

1. Create a new style sheet in Amaya, selecting utf-8 as the charset.
If you then navigate to Views&gt;Document Info the MIME type should read text/css and the Charset utf-8.
Now on my computer this doesn&apos;t yet create a file at the save destination.

2. File&gt;Save As... MIME type and Charset should be filled correctly.

If I then close the document and reopen it using File&gt;Open and then view the document information the MIME type has been retained yet the Charset has changed to iso-8859-1.

If the CSS document is linked externally in a X/HTML document and I open it using Format&gt;Style Sheets&gt;Open... and select it in the pop-up box and then view the document information the MIME type now reads &quot;Unknown&quot; and the Charset &quot;utf-8&quot; - even though I can repeatedly save the document as text/css and UTF-8.

Including an @charset rule at the beginning of the document has no effect.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34735</commentid>
    <comment_count>1</comment_count>
    <who name="">alex.cruice</who>
    <bug_when>2010-04-11 10:34:11 +0000</bug_when>
    <thetext>Correction:
after opening the externally linked style sheet via Format&gt;Style Sheets&gt;Open... the MIME type reads &quot;Unknown&quot; *and* and the Charset &quot;iso-8859-1.&quot; So it&apos;s lost type and mixed the encoding.

Apologies. I&apos;d typed charset and utf-8 several times already and didn&apos;t notice the difference before submitting.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>