]> gitweb.factorcode.org Git - factor.git/blob - basis/unicode/script/script-docs.factor
266f32144b7c991cdf95191193423805344c24db
[factor.git] / basis / unicode / script / script-docs.factor
1 ! Copyright (C) 2009 Daniel Ehrenberg\r
2 ! See http://factorcode.org/license.txt for BSD license.\r
3 USING: help.syntax help.markup strings ;\r
4 IN: unicode.script\r
5 \r
6 ABOUT: "unicode.script"\r
7 \r
8 ARTICLE: "unicode.script" "Unicode script properties"\r
9 "The unicode standard gives every character a script. Note that this is different from a language, and that it is non-trivial to detect language from a string. To get the script of a character, use"\r
10 { $subsections script-of } ;\r
11 \r
12 HELP: script-of\r
13 { $values { "char" "a code point" } { "script" string } }\r
14 { $description "Finds the script of the given Unicode code point, represented as a string." } ;\r