factor/basis/unicode/script/script-docs.factor

15 lines
648 B
Factor
Raw Normal View History

2009-03-18 21:02:03 -04:00
! Copyright (C) 2009 Daniel Ehrenberg
! See http://factorcode.org/license.txt for BSD license.
USING: help.syntax help.markup strings ;
2008-05-05 00:33:54 -04:00
IN: unicode.script
2009-03-19 02:06:25 -04:00
ABOUT: "unicode.script"
ARTICLE: "unicode.script" "Unicode script properties"
"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"
{ $subsections script-of } ;
2009-03-18 21:02:03 -04:00
2008-05-05 00:33:54 -04:00
HELP: script-of
2009-03-19 02:06:25 -04:00
{ $values { "char" "a code point" } { "script" string } }
{ $description "Finds the script of the given Unicode code point, represented as a string." } ;