User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 14 of 14

Thread: Posting special characters with Get object

  1. #11
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleUnicode Add-onInstall Creator Pro

    Join Date
    Apr 2008
    Posts
    421
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Posting special characters with Get object

    The information which is to be stored into database or retrieved from the database has to be handeled by the Get object in both direction any way. This is how Get Object enjoys! I think Jamie is the right person which could explain it better.

  2. #12
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)

    Re: Posting special characters with Get object

    After scouting the internet the whole day, I stumbled upon an article related to the encoding of the PHP file. Right from the beginning NotePad++ used ANSI encoding, I also tried UTF-8 (w/o BOM). No luck.

    About this matter:
    http://wiki.phpmyadmin.net/pma/Garbled_data

  3. #13
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)

    Re: Posting special characters with Get object

    I was finally able to solve this problem! Before inserting the strings into the database, I do this charset conversion in the PHP script:
    Code:
    $string = iconv("UTF-8", "ISO-8859-1//TRANSLIT", $string);
    The thing is that I don't know why such a conversion from UTF-8 to ISO-8859-1 (aka latin1) works.
    No matter the charset of the MySQL database, the charset defined in the HTML embedding the .swf, nor the encoding used to save the PHP file. No need for MMF Unicode either.
    Is this ISO-8859-1 defined by my browsers (worked okay with IE, FireFox and Chrome)? Or my OS?

    EDIT: Does the Flash browser plugin forces a charset?

  4. #14
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Posting special characters with Get object

    Embedding fonts only changes the way the fonts are displayed. Not how they are treated internally.
    Glad to see you solved the problem.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. GET Object - Post data: special characters
    By Popcorn in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 6th June 2013, 12:03 AM
  2. [bug rc7] Special Characters GET OBJECT/STRING
    By StingRay in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 27th March 2013, 12:32 PM
  3. String Object doesn't show special characters correctly
    By JoKa in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 15th November 2011, 08:31 AM
  4. Special words and characters
    By hampus in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 1st October 2007, 08:48 PM
  5. [Question] Enter special characters in the VC6
    By Sphax in forum Extension Developers Lobby
    Replies: 4
    Last Post: 31st August 2007, 11:33 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
  •