Bugs/Utf-8

From Eggdrop Wiki

Revision as of 04:57, 6 January 2010 by Thommey (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

UGLY HACK. DO NOT USE.

You know what you're doing? Ok, well, here it is.

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))

and replace it with

#if (((TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION >= 1))


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";
Personal tools