If UTF8_TO_ISO88591 is defined, the 2-byte UTF-8 characters that are present in ISO-8859-1 are converted to ISO-8859-1. This is useful when your display is ISO-8859-1 and your receive a mixture of UTF-8 and ISO-8859-1 from other users.
Apply this patch to svn-trunk-111.
PATCH: Add UTF-8 to ISO-8859-1 conversion in output text.
PATCH updated: conversion inplace, code simplified
PATCH updated: fix a problem with (signed) char on some architectures
PATCH updated to work with recent version of git
Holy shit. Are you serious? Excited to see what this looks like.
Dan
On Tue, Jun 6, 2017 at 3:14 PM, Enrique D. Bosch presi@users.sf.net wrote:
Hello presi, can you help with the commands to patch it!? I guess im doing something wrong. Thanks in advance dude :)
Last edit: Demogorgoff 2022-09-15
Don't use the git version, use the SVN version.
On Thu, Sep 15, 2022 at 2:05 PM Demogorgoff
demogorgoff@users.sourceforge.net wrote:
Related
Patches: #1
Hey Dan, can you send me the link of this svn version? You already test this locale ".diff" with the latest version!? How do you applied this patch!? Im kinda lost choosing download sources and running diff / patch commands. Have a good weekend.
Hello,
git clone https://git.code.sf.net/p/bitchx/git bitchx-git
I guess Kevin moved to git finally, but you want this tree off
sourceforge not github.
For patching it is the same just like any other patch, patch -p0 < file.patch
No I have not tested this personally, it's actually a pretty old patch
from about 5 years ago.
Maybe the code has changed since then and the patch no longer works.
Thanks,
Dan
On Fri, Sep 16, 2022 at 1:19 PM Demogorgoff
demogorgoff@users.sourceforge.net wrote:
Related
Patches: #1
Thanks for answer Dan, i'd tested but it continue receiving: Odd server stuff: "FAIL PRIVMSG INVALID_UTF8 Message rejected for containing invalid UTF-8".
Do you known some schedule about a new version? Why BitchX have a version to download here and another in github?
Sorry, I didn't read this, so probably I'm late.
This patch only changes the text of received (incoming) messages, it doesn't change sent (outgoing) messages (I didn't need it). I think you are receiving the error because the server only allows UTF-8 text for messages you send.
About repos: different people at different times contributed to some degree to BitchX, I think the most complete codebase is here in sourceforge but some in github diverged more recently, it's a bit confusing.