allEncodings_ = allEncodings;
currentEncoding_ = currentEncoding;
includePromptForEncoding_ = includePromptForEncoding;
includeSaveAsDefault_ = includeSaveAsDefault;
Session session = RStudioGinjector.INSTANCE.getSession();
systemEncoding_ = session.getSessionInfo().getSystemEncoding();
systemEncodingNormalized_ = normalizeEncoding(systemEncoding_);
}