W3C home > Mailing lists > Public > public-wai-ert@w3.org > May 2006

[Fwd: Re: Bytes, character encodings and characters]

From: Johannes Koch <johannes.koch@fit.fraunhofer.de>
Date: Tue, 09 May 2006 23:35:39 +0200
Message-ID: <44610B2B.4070900@fit.fraunhofer.de>
To: public-wai-ert@w3.org



-------- Original Message --------
Subject: Re: Bytes, character encodings and characters
Date: Wed, 03 May 2006 23:24:39 +0200
From: Shadi Abou-Zahra <shadi@w3.org>
Organization: World Wide Web Consortium (W3C)
To: Johannes Koch <johannes.koch@fit.fraunhofer.de>
References: <4458D046.1040003@fit.fraunhofer.de> 
<4458E233.6010105@w3.org> <44591743.5070901@fit.fraunhofer.de>

Johannes Koch wrote:
>> and count the byteOffset correctly to publish a clean and valid report.
> 
> If you want to use earl:byteOffset together with earl:textContent an 
> EARL reading tool will need the character encoding that you used to 
> create the byte sequence which forms the base for your counting.

Typo, I *did* mean charOffset!


> If there is a byte sequence in the resource that cannot be transformed 
> into a proper character sequence using the chosen character encoding, 
> use base64Content for the snippet. Which character sequence would you 
> like to put into a textContent snippet?

So this means we need to say something along the lines of "if the 
original encoding in the Web content can not be represented in the 
encoding of the EARL report, then base64Content needs to be used". To 
use the same example, because you could not display UTF-16 in ASCII, you 
should record the snippet in base64. Correct?

Regards,
  Shadi


-- 
Shadi Abou-Zahra     Web Accessibility Specialist for Europe |
Chair & Staff Contact for the Evaluation and Repair Tools WG |
World Wide Web Consortium (W3C)           http://www.w3.org/ |
Web Accessibility Initiative (WAI),   http://www.w3.org/WAI/ |
WAI-TIES Project,                http://www.w3.org/WAI/TIES/ |
Evaluation and Repair Tools WG,    http://www.w3.org/WAI/ER/ |
2004, Route des Lucioles - 06560,  Sophia-Antipolis - France |
Voice: +33(0)4 92 38 50 64          Fax: +33(0)4 92 38 78 22 |

-- 
Johannes Koch - Competence Center BIKA
Fraunhofer Institute for Applied Information Technology (FIT.LIFE)
Schloss Birlinghoven, D-53757 Sankt Augustin, Germany
Phone: +49-2241-142628
Received on Tuesday, 9 May 2006 21:36:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:27 GMT