Chapter 1. General protocol syntax
Prev |  | Next

## Chapter 1. General protocol syntax

## Requests

If arguments contain spaces, they should be surrounded by double quotation marks.

`COMMAND` [`ARG`...]

All data between the client and the server is encoded in UTF-8. (Note: In UTF-8 all standard ansi characters, 0-127 are the same as a standard ansi encoding. Also, no ansi character appears in any multi-byte characters. So, you can use standard C functions like `strlen`, and `strcpy` just fine with UTF-8 encoded strings. For example: OK encoded in UTF-8 is simply OK. For more information on UTF=8: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8)

Prev |  | Next
The Music Player Daemon protocol | Home | Responses