Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Dump encoding

2012-10-30
2013-06-11
  • Peter Hadadi
    Peter Hadadi
    2012-10-30

    Hi,

    dump does not use database incoding in dbexport.php.

    Possible solution:

    line 43:

    header('Content-Type: text/plain; charset="'.$data->codemap.'"');

    line 136:

    $cmd .= ' -E '.$dbEncoding;

    Bests,

    Peter

     
  • Peter Hadadi
    Peter Hadadi
    2012-10-30

    Same in dataexport.php

    line 88:

    header('Content-Type: text/plain; charset="'.$data->codemap.'"');

    Peter

     
  • Hi Peter,

    I'm not sure to understand what you try to fix, do you have a scenario that shows any problem with that ?

    Presently, in the current dev branch (which should be released really soon), we always set the client_encoding to 'UTF-8', so the backend should send the dump encoded in UTF-8.

    See "classes/Misc.php" line 508.