UTF-8

The API returns UTF-8 by default. All of the response types should work fine without any issues, but you will need to declare the character set of the page you display output onto as UTF-8. If you don't do one or the other you'll get odd looking output. You can do this in two ways.

 

  1. Send an HTTP/1.1 header.
    Content-Type: text/html; charset=utf-8
  2. Declare it in your HTML.
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>


Page Information

  • 1 year ago [history]
  • View page source
  • You're not logged in
  • No tags yet learn more

Wiki Information

Recent PBwiki Blog Posts