From 0f11ce855e1cd4949d2c5db9c3f616b7be201b11 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Sun, 14 Mar 2004 16:57:29 +0000 Subject: update documents about UTF-8, oops git-svn-id: https://svn.musicpd.org/mpd/trunk@261 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- doc/COMMANDS | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 ... 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: ------------------- -- cgit v1.2.3