Sample Header Ad - 728x90

How to base64 encode/decode accents characters

0 votes
2 answers
674 views
I am trying to base64 encode a string which contains accent characters. echo FILE_DATE.Ç | iconv -t utf-8 | base64 But it is giving error iconv: (stdin):1:10: cannot convert locale outputs:
LANG=
LC_CTYPE="C.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_ALL=
Asked by Umesh Kumar (101 rep)
May 16, 2024, 08:30 AM
Last activity: May 18, 2024, 08:28 AM