If one goes into the Preferences of Terminal.app, there is an "Encodings" tab. From where does this list come? How can one add further encodings?
MacOS – From where do the encodings supported by Terminal come
macosterminal
Related Question
- MacOS – Unknown Calendar: where does it come from
- MacOS – Where is the ‘Where from’ meta data stored when downloaded via Chrome
- How to prevent Terminal.app from displaying a tab bar when there is only one tab open
- MacOS – Default program dropdown in preferences – where is this list retrieved from
- MacOS – Where did this file come from
- Mac – Detect Terminal Color “Theme” from Command Line
- MacOS – Where did this Data folder come from
Best Answer
At the bottom of the encodings menu you should see "Customize List". Select that and it will give you the full list of 100 or so available. Is what you need not on that?
A reference for Apple's Text Encoding Converter, which probably provides this function, is at
https://developer.apple.com/library/mac/documentation/Carbon/reference/Text_Encodin_sion_Manager/Text_Encodin_sion_Manager.pdf
iconv includes ucs-2 in case that is of any use:
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man3/iconv_open.3.html