Viewing 3 replies - 1 through 3 (of 3 total)
  • You can fix the bug by adding a utf8_decode(…) around the $message in hipchat.php:30:

    $r = $hc->message_room($room, $from, utf8_decode($message));

    Takeshi

    (@takeshi-tokuanga)

    I use multibyte characters in the urls and managed to solve by making the changes listed below.

    file: hipchat/lib/HipChat.php
    86c86
    < ‘message’ => utf8_encode($message)

    > ‘message’ => mb_convert_encoding($message, ‘UTF8’)

    This is fixed by upgrading the Hipchat PHP lib.

    I did it here: https://github.com/hacklabr/hipchat

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Incorrect character encoding when posting messages’ is closed to new replies.