commit | 48819fe0b9130618a430ec52b3f8526c4c0a5f8a | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Thu Jan 09 16:33:11 2014 +0000 |
committer | Narayan Kamath <narayan@google.com> | Mon Jan 13 11:03:53 2014 +0000 |
tree | 613e7e2ebbbc3c66e07ca8d1d3d647afc63ffc1d | |
parent | b5db5ba4718919c37538fc57cb451c049b8ba8a3 [diff] |
java7: Implement Character.UnicodeScript Implemented in terms of u_getPropertyValueEnum(UCHAR_SCRIPT,) and uscript_getScript from ICU4C. Since the Java 7 API specifies a subset of scripts known to ICU4C, we map scripts not specified in the API to UnicodeScript.UNKNOWN. Like the UnicodeBlock API, our matching is far more lenient than the RI. Change-Id: I5247baddb2dde42d6a2042609370daeb616fe419