title: Why ini file is not being saved?
body: <p>I am trying to save unicode string. There is what I have:</p>
  
  <pre><code>Uses IniFiles;
  const
  SZ_APP_NAME;
  
  Procedure TForm1.SaveSettings;
  var
    _MemIniU: TMemIniFile;
    SettingsPath: string;
  begin
    SettingsPath := GetHomePath + PathDelim + SZ_APP_NAME + PathDelim;
    _MemIniU := TMemIniFile.Create(ChangeFileExt(SettingsPath, 'Settings.ini'),
      TEncoding.UTF8);
    try
      if Form1.WindowState &lt;&gt; TWindowState.wsMaximized then
      begin
        _MemIniU.WriteInteger(SZ_APP_NAME, 'WindowLeft', Form1.Left);
        _MemIniU.WriteInteger(SZ_APP_NAME, 'WindowTop', Form1.Top);
        _MemIniU.WriteInteger(SZ_APP_NAME, 'WindowWidth', Form1.Width);
        _MemIniU.WriteInteger(SZ_APP_NAME, 'WindowHeight', Form1.Height);
        _MemIniU.WriteString(SZ_APP_NAME, 'UnicodeText', Edit1.Text);
      end;
    finally
      _MemIniU.Free;
    end;
  end;
  </code></pre>
  
  <p>But ini file is NOT created. What I am doing wrong? RAD Studio XE5.</p>