3979: character encoding problem when submitting review request

huangzhtao

What version are you running?

0.7.4

What steps will reproduce the problem?

  1. use command: rbt post --summary="测试提交" to post a review request, summary information contains Chinese characters. It makes the request successfully.
  2. Browse the request in review board, will see the garbled characters.

What is the expected output? What do you see instead?

Expected output is the right characters, but will see the garbled characters.

What operating system are you using?

Windows XP SP3, Windows 7 SP1.
Command line code page is 936.

Attach the debug out from the command.

It seems all right, except the garbled characters in the review board.

Please provide any additional information below.

I think it is the character encoding problem. When I use English words, it is OK.

brennie
#1 brennie

What version of Review Board are you using?

Also, what happens if you run chcp 65001 before running rbt post? I'm pretty sure that Review Board expects UTF-8 text.

  • -New
    +NeedInfo
david
#2 david
  • -NeedInfo
    +Incomplete