Utf-8
From Eggdrop Wiki
This will enable your Eggdrop with UTF-8 support.
Notice: Use at your own risk, as this may not solve all your encoding problems.
Contents |
Patch
Step 1
Open the eggdrop1.6.21/src/main.h file in your editor.
Search for (around line 46)
#if (((TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION >= 1)) || (TCL_MAJOR_VERSION > 8)) # define USE_TCL_BYTE_ARRAYS # define USE_TCL_ENCODING #endif
and replace it with
#if (((TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION >= 1)) || (TCL_MAJOR_VERSION > 8)) # undef USE_TCL_BYTE_ARRAYS # define USE_TCL_ENCODING #endif
Step 2
Open the eggdrop1.6.21/src/tcl.c file in your editor.
Search for (around line 650)
if (encoding == NULL) { encoding = "iso8859-1"; }
and insert the following right after it
encoding = "utf-8";
Step 3
Known issues
Scripts
These are scripts that support the UTF-8 patch.
