View Source erg_unicode (erg_unicode v0.1.0)
Summary
Functions
Converts a possibly unicode list of integers into a binary representing Unicode characters. Returns binary on success or 'error' atom otherwise.
Converts a possibly deep list of integers and binaries into a list of integers representing Unicode characters. Returns unicode character list on success or 'error' atom otherwise. The binaries in the input can have characters encoded as one of the following: - ISO Latin-1 (0-255, one character per byte). Here, case parameter InEncoding is to be specified as latin1. - One of the UTF-encodings, which is specified as parameter InEncoding.
Returns true if the specified unicode list contains only ASCII characters or false otherwise.
Returns true if the specified unicode list contains only ASCII alphabetic characters or false otherwise.
Returns true if the specified unicode list contains only ASCII alphabetic lower case characters or false otherwise.
Returns true if the specified unicode list contains only ASCII alphabetic and numeric characters or false otherwise.
Returns true if the specified unicode list contains only ASCII alphabetic lower case and numeric characters or false otherwise.
Returns true if the specified unicode list contains only ASCII alphabetic upper case and numeric characters or false otherwise.
Returns true if the specified unicode list contains only ASCII alphabetic upper case characters or false otherwise.
Returns true if the specified unicode list contains only ASCII numeric characters or false otherwise.
Returns true if the specified unicode list contains only alphabetic letters or false otherwise. All letters in all languages are taken in account not only standard english ASCII letters. This function allow you to check for valid names for example.
Replace the specified list of characters with the specified character or characters
Replace the specified string with the specified character or characters
Trim unicode list
Trim unicode list left, right, both or none
Left trim unicode list
Right trim unicode list
Functions
Converts a possibly unicode list of integers into a binary representing Unicode characters. Returns binary on success or 'error' atom otherwise.
Converts a possibly deep list of integers and binaries into a list of integers representing Unicode characters. Returns unicode character list on success or 'error' atom otherwise. The binaries in the input can have characters encoded as one of the following: - ISO Latin-1 (0-255, one character per byte). Here, case parameter InEncoding is to be specified as latin1. - One of the UTF-encodings, which is specified as parameter InEncoding.
Returns true if the specified unicode list contains only ASCII characters or false otherwise.
Returns true if the specified unicode list contains only ASCII alphabetic characters or false otherwise.
Returns true if the specified unicode list contains only ASCII alphabetic lower case characters or false otherwise.
Returns true if the specified unicode list contains only ASCII alphabetic and numeric characters or false otherwise.
Returns true if the specified unicode list contains only ASCII alphabetic lower case and numeric characters or false otherwise.
Returns true if the specified unicode list contains only ASCII alphabetic upper case and numeric characters or false otherwise.
Returns true if the specified unicode list contains only ASCII alphabetic upper case characters or false otherwise.
Returns true if the specified unicode list contains only ASCII numeric characters or false otherwise.
Returns true if the specified unicode list contains only alphabetic letters or false otherwise. All letters in all languages are taken in account not only standard english ASCII letters. This function allow you to check for valid names for example.
Replace the specified list of characters with the specified character or characters
Replace the specified string with the specified character or characters
Trim unicode list
Trim unicode list left, right, both or none
Left trim unicode list
Right trim unicode list