Artifact fe5529b874e22ef0de37d224dde8042191e78aedee84a6b27d17272b798650c0:
- File doc/markdown/TclCAPI/UniCharIsAlpha.md — part of check-in [b84ce0eee1] at 2026-10-04 22:10:02 on branch tip-700 — file location re-organisation (part 1) (user: Torsten, size: 2613) [annotate] [blame] [check-ins using] [more...]
- File doc/markdown/UniCharIsAlpha.md — part of check-in [5e80e55e41] at 2026-09-26 22:40:07 on branch tip-700 — - added a "title" metadata element to the generated yaml block to satisfy Pandoc when converting to HTML - added markdown2html.tcl as prototype/placeholder of conversion script markdown -> HTML - added some CSS to play with a good visual representation of the generated HTML, starting with the n section pages - fixed man2markdown.tcl not giving the two .TP/.IP parsing places the same treatment (user: Torsten, size: 2613) [annotate] [blame] [check-ins using]
CommandName: Tcl_UniCharIsAlpha title: Tcl_UniCharIsAlpha ManualSection: 3 Version: 8.1 TclPart: Tcl TclDescription: Tcl Library Procedures Keywords:
- unicode
- classification Copyright:
- Copyright (c) 1997 Sun Microsystems, Inc. ---
Name
Tcl_UniCharIsAlnum, Tcl_UniCharIsAlpha, Tcl_UniCharIsControl, Tcl_UniCharIsDigit, Tcl_UniCharIsGraph, Tcl_UniCharIsLower, Tcl_UniCharIsPrint, Tcl_UniCharIsPunct, Tcl_UniCharIsSpace, Tcl_UniCharIsUpper, Tcl_UniCharIsWordChar - routines for classification of Tcl_UniChar characters
Synopsis
::: {.synopsis} ::: #include <tcl.h> [int]{.ret} [Tcl_UniCharIsAlnum]{.ccmd} [ch]{.cargs} [int]{.ret} [Tcl_UniCharIsAlpha]{.ccmd} [ch]{.cargs} [int]{.ret} [Tcl_UniCharIsControl]{.ccmd} [ch]{.cargs} [int]{.ret} [Tcl_UniCharIsDigit]{.ccmd} [ch]{.cargs} [int]{.ret} [Tcl_UniCharIsGraph]{.ccmd} [ch]{.cargs} [int]{.ret} [Tcl_UniCharIsLower]{.ccmd} [ch]{.cargs} [int]{.ret} [Tcl_UniCharIsPrint]{.ccmd} [ch]{.cargs} [int]{.ret} [Tcl_UniCharIsPunct]{.ccmd} [ch]{.cargs} [int]{.ret} [Tcl_UniCharIsSpace]{.ccmd} [ch]{.cargs} [int]{.ret} [Tcl_UniCharIsUpper]{.ccmd} [ch]{.cargs} [int]{.ret} [Tcl_UniCharIsWordChar]{.ccmd} [ch]{.cargs} :::
Arguments
::: {.arguments} :::
[ch]{.carg .in type="int"} : The Unicode character to be examined.
:::
Description
All of the routines described examine Unicode characters and return a boolean value. A non-zero return value means that the character does belong to the character class associated with the called routine. The rest of this document just describes the character classes associated with the various routines.
Character classes
Tcl_UniCharIsAlnum tests if the character is an alphanumeric Unicode character.
Tcl_UniCharIsAlpha tests if the character is an alphabetic Unicode character.
Tcl_UniCharIsControl tests if the character is a Unicode control character.
Tcl_UniCharIsDigit tests if the character is a numeric Unicode character.
Tcl_UniCharIsGraph tests if the character is any Unicode print character except space.
Tcl_UniCharIsLower tests if the character is a lowercase Unicode character.
Tcl_UniCharIsPrint tests if the character is a Unicode print character.
Tcl_UniCharIsPunct tests if the character is a Unicode punctuation character.
Tcl_UniCharIsSpace tests if the character is a whitespace Unicode character.
Tcl_UniCharIsUpper tests if the character is an uppercase Unicode character.
Tcl_UniCharIsWordChar tests if the character is alphanumeric or a connector punctuation mark.