This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 10558 - Amaya can not correctly handle utf-8 in style sheets
Summary: Amaya can not correctly handle utf-8 in style sheets
Status: NEW
Alias: None
Product: Amaya
Classification: Unclassified
Component: CSS (show other bugs)
Version: 11.3.1
Hardware: PC Windows 3.1
: P1 major
Target Milestone: ---
Assignee: lcarcone
QA Contact: lcarcone
URL:
Whiteboard:
Keywords: Usability
Depends on:
Blocks:
 
Reported: 2010-09-06 17:13 UTC by J
Modified: 2014-11-05 15:58 UTC (History)
6 users (show)

See Also:


Attachments

Description J 2010-09-06 17:13:07 UTC
While creating a Stylesheet is no problem, there seems to be problems in handling.

Save the following contents in example.css (File>Save as>Charset: "utf-8"):
   @charset "UTF-8";
   /**
   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 "UTF-8";
   Example comment: asdf jklö äüÃ⬠ÃÃÃ@

It seems that Amaya doesn'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 "charset" is specified.

OS: Windows XP/Vista/7 Ubuntu 10.4