chromium/third_party/blink/web_tests/external/wpt/html/dom/elements/global-attributes/data_unicode_attr.html

<!DOCTYPE HTML>
<meta charset="utf-8">
<title>HTML Test: dataset attribute</title>
<link rel="author" title="ElegantPig" href="mailto:[email protected]">
<link rel="author" title="Xiaojun Wu" href="mailto:[email protected]">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id='log'></div>
<div id="d1" data-weapons="laser 2" data-中文属性="中文"></div>
<script>

test(function() {
  var d1 = document.getElementById("d1");
  assert_equals(d1.dataset.weapons, "laser 2");
}, "dataset - SBCS");

test(function() {
  var d1 = document.getElementById("d1");
  assert_equals(d1.dataset.中文属性, "中文");
}, "dataset - UNICODE");

</script>