Increase a given string by 1, i.e. increase the last char in that string by one.
If its a z or Z the char before is increased instead and a new char a is appended.
Only true letters are increased, but spaces, punctuation or numbers remain unchanged.
Null values stay null and empty strings empty.
The case of existing characters will be kept and the appended chars will use the case of the last char of the
For example "Carlb" becomes "Carla", "Aua" "Atz", "zZz" "aAaa" or "Abies zzz" "Abiet aaa".
Unescapes various unicode escapes if existing:
java unicode escape, four hexadecimal digits
The octal value nnn, where nnn stands for 1 to 3 digits between ‘0’ and ‘7’. For example, the code for the ASCII
ESC (escape) character is ‘\033’.
The hexadecimal value hh, where hh stands for a sequence of hexadecimal digits (‘0’–‘9’, and either ‘A’–‘F’ or
‘a’–‘f’).Like the same construct in ISO C, the escape sequence continues until the first nonhexadecimal digit is seen.
However, using more than two hexadecimal digits produces undefined results. (The ‘\x’ escape sequence is not allowed
in POSIX awk.)
text - string potentially containing unicode escape chars
Tries to decode a UTF8 string only if common UTF8 character combinations are found which are unlikely to be correctly encoded text.
E.g. Ã¼ is the German Umlaut ü and indicates we have encoded utf8 text still.