Created
June 11, 2011 11:53
-
-
Save Leonidas-from-XIV/1020494 to your computer and use it in GitHub Desktop.
XChat sends in IRC/hybrid setting a mix of CP1252 and UTF-8. Make that UTF-8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- src/common/server.c.old 2011-06-11 13:42:31.126537883 +0200 | |
+++ src/common/server.c 2011-06-11 13:43:14.559870355 +0200 | |
@@ -115,7 +115,7 @@ | |
} | |
} else | |
{ | |
- if (using_irc) /* using "IRC" encoding (CP1252/UTF-8 hybrid) */ | |
+ if (0) /* using "IRC" encoding (CP1252/UTF-8 hybrid) */ | |
/* if all chars fit inside CP1252, use that. Otherwise this | |
returns NULL and we send UTF-8. */ | |
locale = g_convert (buf, len, "CP1252", "UTF-8", 0, &loc_len, 0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment