-
Notifications
You must be signed in to change notification settings - Fork 4
/
882.txt
47 lines (34 loc) · 2.24 KB
/
882.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[8] [DFN[x-user-defined]] は、[[文字符号化]]の1つです。
* 特殊性
[9] 他の[[文字符号化]]とは異なる特別な扱いがあります。[[文字符号化]]参照。
* 歴史
[1] [CITE@en[Using XMLHttpRequest - MDN]]
( ([TIME[2011-09-17 00:18:50 +09:00]] 版))
<https://developer.mozilla.org/En/XMLHttpRequest/Using_XMLHttpRequest#Receiving_binary_data_in_older_browsers>
[2] [CITE[IRC logs: freenode / #whatwg / 20131129]]
( ([TIME[2013-12-01 11:05:17 +09:00]] 版))
<http://krijnhoetmer.nl/irc-logs/whatwg/20131129>
[3] [CITE@en[6588 – implement "User-Defined" charset]]
( ([TIME[2014-05-13 01:32:59 +09:00]] 版))
<https://bugzilla.mozilla.org/show_bug.cgi?id=6588>
[4] [CITE[Unicode Mail List Archive: Re: Unicode Devanagari Font in Mozil]]
( ([[James Kass (jameskass@worldnet.att.net)]] 著, [TIME[2002-07-18 14:42:09 +09:00]] 版))
<http://www.unicode.org/mail-arch/unicode-ml/y2002-m07/0411.html>
[5] [[電子メール]]での利用例もあるようですが、いつから誰が使っているのかははっきりしません。
2000年代以後のもので、 >>3 より後です。
[6] [CITE@en-US[Encoding Standard]]
( ([TIME[2014-05-12 14:33:32 +09:00]] 版))
<http://encoding.spec.whatwg.org/#x-user-defined>
[7] [CITE@en[Web Applications 1.0 r8618 Make <meta charset=x-user-defined> turn into windows-1252 for legacy reasons]]
( ([TIME[2014-05-08 08:32:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=8617&to=8618>
[10] [[Chrome]] は [CODE(HTMLe)@en[meta]] で指定された時、 [[Windows-1252]]
に読み替えます (仕様通りの動作)。
[[HTTPヘッダー]]や [[HTML文書]]中の [[XML宣言]]での指定、
[[CSS]] の [CODE[@charset]] の指定では、そのまま [[x-user-defined]]
として扱います。 [TIME[2017-05-06T14:19:06.300Z]]
[11] [[Chrome]] は [[XML宣言]]に
[CODE[x-user-defined]] が指定されている時、未知の[[文字符号化]]だとして[[整形式]]性エラーを表示します。
[[HTTPヘッダー]]で [CODE[x-user-defined]] が指定されていれば、それを尊重しますが、
[[XML宣言]]があればエラーになります (なければエラー無く取り扱えます)。
[TIME[2017-05-06T14:20:54.600Z]]