Document g_print and g_printerr encoding behaviour
See #2898 (closed). I described the exact behaviour in the introductory paragraph and I replaced the phrase "simply outputs the message" to "outputs the encoded message" in the individual functions.