summaryrefslogtreecommitdiff
path: root/src/core/recode.c
AgeCommit message (Collapse)Author
2008-02-04Remove trailing whitespace.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4705 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-12-09Simplify is_valid_charset by just checking with g_iconv_open that theEmanuele Giaquinta
conversion is supported. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4665 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-20Farewell glib-1.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4509 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-18Factor common code in recode_{in,out}.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4499 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08Oops. Update address correctly now.Wouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4490 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08Update FSF addressWouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4489 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-06Do not call iconfig_get_str when target is NULL.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4487 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-01-06Reindent.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4405 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-01-06Remove the target != NULL constraint in recode_out.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4404 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-01-06Simplify.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4403 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-20Cosmetic.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4372 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-20Make compilation of is_translit conditional on glib-2.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4369 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-20Add public is_utf8 function by refactoring existing code.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4368 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-07-25Don't assume that 7bit ascii strings are encoded in UTF-8, only validate the ↵Valentin Batz
strings when they contain octest with highest bit set. (patch by Mikko Rauhala) fixes http://bugs.irssi.org/index.php?do=details&id=392 git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4300 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-11-19If transliterations don't work in the system (eg. Solaris), don't allowTimo Sirainen
recode_transliterate setting to be enabled. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4082 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-11-19Default recode_transliterate to yesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4079 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-11-07changed recode_fallback to CP1252Valentin Batz
added recode_autodetect_utf8, it's on by default removed settings_remove calls from recode_deinit since I don't see any other internal module doing it git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4067 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-16fixed a bug in recode when target is NULL and really use the recoded string ↵Valentin Batz
for printing git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4042 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-10Don't crash with /me in dcc, or dcc message on disconnected server, with ↵Wouter Coekaerts
recode (Bug 330) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4033 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-07-24Forgot to add the additional parameter to g_convert_with_fallback (This ↵Valentin Batz
always happens when I'm applying patches manually :( ) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3882 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-07-24Added an option to specify a charset for a whole network. For example ↵Valentin Batz
/recode add IRCnet iso-8859-1 (http://bugs.irssi.org/index.php?do=details&id=284) Patch by Sergey Safonov. Replaced g_convert by g_convert_with_fallback in recode_in (http://bugs.irssi.org/index.php?do=details&id=241) Patch by Kuang-che Wu. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3881 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-06-29Added a new boolean setting 'recode' to provide an opportunity to turn off ↵Valentin Batz
recode completely git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3805 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-01-12call setlocale(LC_ALL, ) once in fe-text/irssi.c and not everytime ↵Valentin Batz
recode_get_charset() is called in recode.c git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3703 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-01-12call setlocale(LC_ALL, ) before g_get_charset to properly return the user's ↵Valentin Batz
charset git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3702 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-12-20Fixed target handling in recode_outValentin Batz
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3693 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-12-20Added <tag>/<target> support for recode.Valentin Batz
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3692 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-20Changed the order of recode_out_default_charset, it doesn't override /recode ↵Valentin Batz
add anymore. The string returned by nl_langinfo(CODESET) may be empty, use ISO8859-1 in this case git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3306 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-18Forgot g_free(translit_to); in recode_inValentin Batz
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3304 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-15Fixed memleak in recode.c, fixed typo in special_vars.txt, fixed bug 105, ↵Valentin Batz
fixed bug 106 git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3295 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-08-21Bug #104 recode treats multibyte jp characters as utf8. Patch by ValentinTimo Sirainen
Batz git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3285 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-08-20forgot to addTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3284 dbcabf3a-b0e7-0310-adc4-f8d773084564