Call History encoding to UTF-8

  1. 8 years ago
    Edited 8 years ago by SeriousDanil

    Ohh, hello, guys. I have some problem with encoding in call history module.
    When i want to see call history i see something like this:
    63.png

    but details looks like this:
    64.png

    My mind is blow up for last 3 days.

    I convert to UTF-8 everything is possible but this take no effect for this module.
    Please, help

  2. admin

    23 Sep 2016 Administrator

    Hi,

    You might want to try by adding:

    $ris = $db->consulta("SET NAMES utf8");

    Somewhere in calldetailrecords.php file , after the require of config.php.

    That might help, or not at all. It all depends on how mysql is encoding retrieved data, and how that data is stored.

    Best regards,

  3. Hello!
    Tried automatic installation FOP2 on Elastix 2.5.0 on Elastix 4.0, in both cases, the label is incorrect.
    When you change (in admin panel) displays correctly. After refreshing the page, again not correct. Label Queue does not change.

  4. Please, help...

  5. admin

    1 Nov 2016 Administrator

    AndreVR: you might be having a double encoding issue. Try by removing SET NAMES UTF8; from sql queries in autoconfig-buttons.sh script. You will see that main queries have that as an initial set/query, to force mysql to deliver results in utf8, but if data is already in utf8 it might encode it twice, so removing that from queries might do the trick.

  6. Thank you! It helped!

  7. 7 years ago
    Edited 7 years ago by bazoozoo

    @SeriousDanil My mind is blow up for last 3 days.

    Same problem with this module and the same problrm with a brain-just blowing up.
    Did you solve this problem???

  8. I have the same problem with the module, the solution from the top did not help. Please tell me what data are needed, that you could help me.

  9. admin

    17 Jan 2017 Administrator

    Try to catch me on the live help and provide access to your server so I can look at it.

    Best regards,

  10. Still this problem exist on cyrillic charset. 2017-09-28 (2).png

or Sign Up to reply!