When I am trying to use wc -c "filename" in terminal it is printing the file size. But when I change the terminal locale setting using export LC_ALL=ZH_CN.UTF-8 and try, it is giving an error in chinese saying (Invalid multibyte character) and not printing the size. Same problem I am facing for all non english locales.
Please help me out with the reason why it is giving error and any alternative for this.