Wolfram Language File Encoding

By Xah Lee. Date: . Last updated: .

Wolfram Notebook File Encoding

Wolfram Notebook is saved in pure 7-bits ASCII.

This is just for your info. You don't don't have to do anything. But if you are creating Wolfram notebook in a text editor other than Wolfram notebook, the info is useful.

if you are not familiar with file encoding, see

WolframScript File Encoding

WolframScript accept any encoding.

I recommend savig your script in "UTF8" format.

You can specify by the command line option -charset ENCODING, where ENCODING is any value in $CharacterEncodings CharacterEncodings

here's the value of $CharacterEncodings:

{"AdobeStandard", "ASCII", "CP936", "CP949", "CP950", "EUC-JP",
"EUC", "IBM-850", "ISO8859-10", "ISO8859-11", "ISO8859-13",
"ISO8859-14", "ISO8859-15", "ISO8859-16", "ISO8859-1", "ISO8859-2",
"ISO8859-3", "ISO8859-4", "ISO8859-5", "ISO8859-6", "ISO8859-7",
"ISO8859-8", "ISO8859-9", "ISOLatin1", "ISOLatin2", "ISOLatin3",
"ISOLatin4", "ISOLatinCyrillic", "Klingon", "koi8-r",
"MacintoshArabic", "MacintoshChineseSimplified",
"MacintoshChineseTraditional", "MacintoshCroatian",
"MacintoshCyrillic", "MacintoshGreek", "MacintoshHebrew",
"MacintoshIcelandic", "MacintoshKorean",
"MacintoshNonCyrillicSlavic", "MacintoshRomanian", "MacintoshRoman",
"MacintoshRomanPDFExport", "MacintoshThai", "MacintoshTurkish",
"MacintoshUkrainian", "Math1", "Math2", "Math3", "Math4", "Math5",
"Mathematica1", "Mathematica2", "Mathematica3", "Mathematica4",
"Mathematica5", "Mathematica6", "Mathematica7", "PrintableASCII",
"ShiftJIS", "Symbol", "UTF-8", "UTF8", "WindowsANSI",
"WindowsBaltic", "WindowsCyrillic", "WindowsEastEurope",
"WindowsGreek", "WindowsThai", "WindowsTurkish", "ZapfDingbats"}
WolframScript file encoding 2022-06-25
WolframScript file encoding 2022-06-25
WolframLang char encoding 2022-04-24
WolframLang char encoding

WolframLang in Depth

Basics

Comment, Print

String

Arithmetic

List

Expression, Atom, Head

Boolean

Conditional

Variable

Loop

Data Structure

Function

Pattern Matching

Advanced

Shell Tasks

Misc