User Tag List

Results 1 to 5 of 5

Thread: File object encoding unicode vs ansi

  1. #1
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Christian_Wheel's Avatar
    Join Date
    Mar 2010
    Location
    Los Angeles
    Posts
    344
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    File object encoding unicode vs ansi

    Hi all,

    Using 2.5+ Developer.

    I need my Fusion app to create and run a batch file. I have created the batch file using the File object, and it is written successfully, but its encoding is Unicode, and won't run because it needs to be ANSI. But I can't find a way to specify the file encoding in the File object.

    Does anyone have any ideas on how to make this work?

    Thanks!

  2. #2
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Christian_Wheel's Avatar
    Join Date
    Mar 2010
    Location
    Los Angeles
    Posts
    344
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    UPDATE: This is a bug. The File object ignores the "character encoding options" attribute in the application properties and will always output Unicode no matter what. The Edit object, however, obeys the setting and I was able to output a batch file using the Edit object by changing the output file encoding to ANSI.

    Since the bug box is down, I am reporting this here. Can someone from Clickteam please confirm that this is noted for review?

    Thanks!

  3. #3
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    wuxuechen's Avatar
    Join Date
    Nov 2006
    Posts
    213
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've been stuck in this problem, and I'm looking for other ways, but I haven't found any. I have to give up some projects, hoping someone can solve this problem! ________

  4. #4
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,026
    Mentioned
    108 Post(s)
    Tagged
    2 Thread(s)
    OK this is noted.

  5. #5
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    Christian_Wheel's Avatar
    Join Date
    Mar 2010
    Location
    Los Angeles
    Posts
    344
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Apologies for posting this in the wrong forum! I thought I was in the 2.5 forum.

Similar Threads

  1. Get object and encoding....
    By hamdi369 in forum Fusion 2.5
    Replies: 3
    Last Post: 23rd January 2017, 02:16 PM
  2. Replies: 0
    Last Post: 2nd September 2015, 09:27 AM
  3. ANSI vs. UTF-8 vs. Unicode
    By J3sseM in forum Fusion 2.5
    Replies: 29
    Last Post: 1st December 2014, 12:30 PM
  4. Saving a text file with specific Encoding?
    By mega21 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 25th December 2012, 02:33 PM
  5. Save to the ANSI text by the Unicode Editbox
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 28th October 2010, 10:38 AM

Posting Permissions

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