create string utf-16 BMP warning template page. this is a good warning |
m more elaborate wording |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>{{Note|This node deals with individual [[Type:Char|chars]] of a string. This may result in unintuitive behavior with strings containing characters that reside outside the [https://en.wikipedia.org/wiki/Plane_(Unicode)#Basic_Multilingual_Plane Basic Multilingual Plane]. For more information, see [[Type:String|the type page for String]].|warning}}</onlyinclude> | <onlyinclude>{{Note|This node deals with individual [[Type:Char|chars]] of a string, whether by way of indexing a string or by returning a <code>char</code>. This may result in unintuitive behavior with strings containing characters that reside outside the [https://en.wikipedia.org/wiki/Plane_(Unicode)#Basic_Multilingual_Plane Basic Multilingual Plane], such as "mismatched" indices or returning an invalid <code>char</code>. For more information, see [[Type:String|the type page for String]].|warning}}</onlyinclude> |