From 08688b3c2a9b1bfcafcb026b1d603e6675892667 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Mon, 21 Nov 2011 13:15:21 -0500 Subject: [PATCH] Fix accuracy of comment to clarify intent. --- xonstat/views/submission.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xonstat/views/submission.py b/xonstat/views/submission.py index 0d5acf2..36e0941 100755 --- a/xonstat/views/submission.py +++ b/xonstat/views/submission.py @@ -420,7 +420,9 @@ def parse_body(request): (key, value) = line.strip().split(' ', 1) # Server (S) and Nick (n) fields can have international characters. - # We first convert to normal ASCII, then encode them as UTF-8. + # We first convert to UTF-8, then to ASCII. Characters will be lost + # in this conversion for the sake of presenting what otherwise + # would have to use CSS sprites. if key in 'S' 'n': value = qfont_decode(unicode(value, 'utf-8')) -- 2.39.2