Document: xmlEncoding プロパティ
非推奨;: この機能は非推奨になりました。まだ対応しているブラウザーがあるかもしれませんが、すでに関連するウェブ標準から削除されているか、削除の手続き中であるか、互換性のためだけに残されている可能性があります。使用を避け、できれば既存のコードは更新してください。このページの下部にある互換性一覧表を見て判断してください。この機能は突然動作しなくなる可能性があることに注意してください。
XML 宣言によって決定されたエンコード方式を返します。未指定または不明の場合は null
となります。
警告: この属性を使用しないでください。この属性は DOM Level 4 仕様から除去され、Firefox 10.0 では対応していません。
以下の XML 宣言を想像してください。
xml
<?xml version="1.0" encoding="UTF-16"?>
こうすると、結果は "UTF-16" になります。
仕様書
この機能はもうどの仕様にも属していません。標準化の予定もありません。
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
xmlEncoding |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- Deprecated. Not for use in new websites.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.