summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-03-14 16:57:29 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-03-14 16:57:29 +0000
commit0f11ce855e1cd4949d2c5db9c3f616b7be201b11 (patch)
tree34a337ed21bbd4772e48e930a3120d2870768f37 /doc
parentb2abb5778bb3bfd859f25bcf8960cb4fb628a8d5 (diff)
update documents about UTF-8, oops
git-svn-id: https://svn.musicpd.org/mpd/trunk@261 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'doc')
-rw-r--r--doc/COMMANDS10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/COMMANDS b/doc/COMMANDS
index 670d28f11..be429903e 100644
--- a/doc/COMMANDS
+++ b/doc/COMMANDS
@@ -6,11 +6,19 @@ Format:
-------
If arguments contain spaces, they should be surrounded by double quotation
-marks, ".
+marks, ".
command <type arg1> <type arg2> ...
explanation: w/ arg1 and arg2
+All data between the client and server is encoded in UTF-8. (Note,
+that 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\n" encoded in UTF-8 is
+simply "OK\n". For more information on UTF=8:
+http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 )
+
Command Completion:
-------------------