1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Not a Bug Importer icov source data encoding should be put to GUI

Discussion in 'Resolved Bug Reports' started by Vladislav Rastrusny, Jan 19, 2011.

  1. Vladislav Rastrusny

    Vladislav Rastrusny Active Member


    Importer scripts contain source data charset hardcoded like this:
    protected $_charset 'windows-1252';
    To import data from any forum, that has it's content in any incompatible encoding (windows-1251 for example) we ought to fix encoding in the script. Otherwise we have all russian characters replaced by "?" signs after import.

    Can we have this $_charset initializing from GUI, not hardcoded? Default value of this variable can be determined from the default charset of the source database btw.
    Romchik® likes this.
  2. Mike

    Mike XenForo Developer Staff Member

    It's not hard coded. It's pulled from the default language of the database (in vB).
  3. Vladislav Rastrusny

    Vladislav Rastrusny Active Member

    Ah, I see now. Thanks.

Share This Page