User Tag List

Results 1 to 5 of 5

Thread: Ini object won't save the UTF8 format

  1. #1
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,764
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)

    Question Ini object won't save the UTF8 format

    Build 257.14
    Saved ini file still ANSI format even if UTF8 option enabled.

  2. #2
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,190
    Mentioned
    141 Post(s)
    Tagged
    2 Thread(s)
    When you create the INI file from MMF2 with the INI object, Windows creates it as a normal ANSI text file (the file hasn't the UTF-8 BOM), even if it contains UTF-8 characters. This is not a problem for MMF2, but this can be a problem if you want to manually you edit it with a text editor.

    If you want to be able to manually edit it as UTF-8 file, you have to create the .INI in Notepad and save it as UTF-8 file before using it in MMF2. Also make sure the first line is empty (and perhaps you have to create at least one section after the empty line).

  3. #3
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,764
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    This option for manually edit with a text editor?
    MMF2 has no problem when saving or loading data from file contains UTF-8 characters even if unchecked UTF-8 option in INI object?

  4. #4
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,190
    Mentioned
    141 Post(s)
    Tagged
    2 Thread(s)
    Not sure if I understand what you mean.

    MMF2 correctly saves UTF-8 characters in the INI file if you check the UTF-8 option in the properties (I've just verified it)

    If you want to be able to manually edit the INI file with the text editor like Notepad, create yourself the INI file with Notepad and add an empty line at the beginning before the first section.

  5. #5
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,764
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Perhaps won't change the format if not contained the UTF-8 characters in saved ini file?

Similar Threads

  1. Format Object
    By LB in forum Released Extensions
    Replies: 5
    Last Post: 10th March 2014, 07:02 PM
  2. [bug/problem] german text INI (ASCII/UTF8)
    By StingRay in forum iOS Export Module Version 2.0
    Replies: 4
    Last Post: 18th December 2012, 04:02 PM
  3. Format Object - Beta
    By LB in forum Extension Development
    Replies: 16
    Last Post: 3rd September 2012, 08:35 PM
  4. SAVE GAME Object, Save all propriety object
    By daniele in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 4th August 2009, 09:00 PM
  5. Globally Save Object (Global Save Object)
    By Max in forum Extension Development
    Replies: 0
    Last Post: 21st July 2007, 05:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •