|
From: | tomas |
Subject: | [bug-gnu-libiconv] Why iconv is locale dependent? |
Date: | Mon, 02 Jan 2017 13:39:56 -0200 |
User-agent: | Roundcube Webmail/1.0.2 |
HiFirst of all, I'd like to thank you all for maintaining libiconv for free. It is a great job!
I am writing you because I couldn't understand why iconv (and libiconv also, I suppose) is locale-dependent. My test is the following bash script:
#!/bin/bash declare LANG= declare LC_ALL= iconv -f UTF-8 -t ASCII//TRANSLIT <<EOF tomás EOF declare LANG=en_US.UTF-8 declare LC_ALL= iconv -f UTF-8 -t ASCII//TRANSLIT <<EOF tomás EOFSince iconv is a tool for converting between encodings why is it dependent of locale configuration?
Regards, Tomás
[Prev in Thread] | Current Thread | [Next in Thread] |