Extend Default Whitespace in 'string trim' Beyond ASCIIBill Poser$Revision: 1.5 $
This TIP extends the string trim, string trimleft, and string trimright subcommands to function properly with non-roman writing systems by adding non-ASCII space characters to the default list of characters to be trimmed.
By default string trim and its single-sided variants remove ASCII whitespace characters. Some writing systems use other whitespace characters. Adding these characters to the default list will extend the Unicode-friendliness of Tcl.
The characters proposed to be added are:
VSsxMzYxICBFVEhJT1BJQyBXT1JEU1BBQ0UgICAgICAgVSsxNjgwICBPR0hBTSBTUEFDRSBNQVJLVSszMDAwICBJREVPR1JBUEhJQyBTUEFDRQ==
This document has been placed in the public domain.