You can add it manually by first echo
ing the bytes into the file:
echo -ne '\xEF\xBB\xBF' > names.utf8.csv
and then concatenating your required information at the end:
iconv -f CP1252 -t UTF-8 names.csv >> names.utf8.csv
Note the >>
rather than >
.
More Related Contents:
- How to use unicode characters in Windows command line?
- What’s the difference between UTF-8 and UTF-8 without BOM?
- UTF-8, UTF-16, and UTF-32
- Unicode, UTF, ASCII, ANSI format differences
- What’s the difference between ASCII and Unicode?
- What’s the difference between Unicode and UTF-8? [duplicate]
- Manually converting unicode codepoints into UTF-8 and UTF-16
- How many characters can be mapped with Unicode?
- What’s the best option to display Unicode text (hebrew, etc.) in VB6
- What are the most common non-BMP Unicode characters in actual use? [closed]
- Unicode range for Japanese
- Using redirection within the script produces a unicode output. How to emit single-byte ASCII text?
- Unicode Identifiers and Source Code in C++11?
- How can I clean source code files of invisible characters?
- In Unicode, why are there two representations for the Arabic digits?
- Can UTF-8 contain zero byte?
- List of all unicode’s open/close brackets?
- grepping binary files and UTF16
- How can I get the Unicode code point(s) of a Character?
- python 3.0, how to make print() output unicode?
- Print Directory & File Structure with icons for representation in Markdown [closed]
- How to read utf16 text file to string in golang?
- What does it mean when my text is displayed as Question Marks?
- ASCII vs Unicode + UTF-8
- UTF-8 & Unicode, what’s with 0xC0 and 0x80?
- Should I support Unicode in passwords?
- UTF-8 Continuation bytes
- Unicode output on Windows command line?
- Issue with smtplib sending mail with unicode characters in Python 3.1
- Why is Unicode restricted to 0x10FFFF?