From 07a95117601badd3747f812ca3952a391ff5c0b0 Mon Sep 17 00:00:00 2001 From: tobigun Date: Thu, 23 Jul 2009 15:04:53 +0000 Subject: DEFAULT_ENCODING is now fixed (to CP1252) in USong.pas and cannot be set in the usdx config-file anymore (feature would just cause confusion and non-portable song-files) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1863 b956fd51-792f-4845-bead-9b4dfca2ff2c --- unicode/src/base/UIni.pas | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/unicode/src/base/UIni.pas b/unicode/src/base/UIni.pas index 9a09ca91..03654db7 100644 --- a/unicode/src/base/UIni.pas +++ b/unicode/src/base/UIni.pas @@ -157,9 +157,6 @@ type Joypad: integer; Mouse: integer; - // default encoding for texts (lyrics, song-name, ...) - EncodingDefault: TEncoding; - procedure Load(); procedure Save(); procedure SaveNames; @@ -731,10 +728,6 @@ begin // NoteLines NoteLines := GetArrayIndex(INoteLines, IniFile.ReadString('Lyrics', 'NoteLines', INoteLines[1])); - //Encoding default - // CP1252 is the USDX <1.1 default encoding - EncodingDefault := ParseEncoding(IniFile.ReadString('Lyrics', 'Encoding', ''), encCP1252); - LoadThemes(IniFile); // Color @@ -886,9 +879,6 @@ begin // NoteLines IniFile.WriteString('Lyrics', 'NoteLines', INoteLines[NoteLines]); - //Encoding default - IniFile.WriteString('Lyrics', 'Encoding', EncodingNames[EncodingDefault]); - // Theme IniFile.WriteString('Themes', 'Theme', ITheme[Theme]); -- cgit v1.2.3