On 02/09/15 01:41, Michael Lee wrote: > When using cut as, "cut -c 1" with a text file with Spanish characters, it > does not display those characters. > For example, the character ã or á will not display if it is the first > character and the file is trimmed using the cut command.
Debian/Ubuntu do not use the i18n patch used in Fedora/RHEL/Suse for example, and so do not support multi-byte characters. Now that i18n patch is problematic and incomplete, and there are plans to bring the functionality upstream at some stage: http://www.pixelbeat.org/docs/coreutils_i18n/ cheers, Pádraig