Menu

#1 Add UTF-8 to ISO-8859-1 conversion in output text.

open
nobody
None
5
2024-10-19
2011-03-09
No

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.

Related

Patches: #1

Discussion

  • Enrique D. Bosch

    PATCH: Add UTF-8 to ISO-8859-1 conversion in output text.

     
  • Enrique D. Bosch

    PATCH updated: conversion inplace, code simplified

     
  • Enrique D. Bosch

    PATCH updated: fix a problem with (signed) char on some architectures

     
  • Enrique D. Bosch

    PATCH updated to work with recent version of git

     
    • Dan Mashal

      Dan Mashal - 2017-06-07

      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:

      PATCH updated to work with recent version of git

      Attachments:

      01-utf8_to_iso8859-1-r3.diff (3.3 kB; text/x-patch)


      [patches:#1] Add UTF-8 to ISO-8859-1 conversion in output text.

      Status: open
      Group:
      Created: Wed Mar 09, 2011 08:49 PM UTC by Enrique D. Bosch
      Last Updated: Wed Mar 09, 2011 08:49 PM UTC
      Owner: nobody

      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.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/bitchx/patches/1/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
    • Demogorgoff

      Demogorgoff - 2022-09-15

      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
      • Dan Mashal

        Dan Mashal - 2022-09-16

        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:

        Hello Henrique, can you send the download link for the git version and the commands to patch it!? I guess im doing something wrong. Thank's in advance Dude :)


        [patches:#1] Add UTF-8 to ISO-8859-1 conversion in output text.

        Status: open
        Group:
        Created: Wed Mar 09, 2011 08:49 PM UTC by Enrique D. Bosch
        Last Updated: Tue Jun 06, 2017 10:14 PM UTC
        Owner: nobody

        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.


        Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/bitchx/patches/1/

        To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

         

        Related

        Patches: #1

        • Demogorgoff

          Demogorgoff - 2022-09-16

          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.

           
          • Dan Mashal

            Dan Mashal - 2022-09-16

            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:

            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.


            [patches:#1] Add UTF-8 to ISO-8859-1 conversion in output text.

            Status: open
            Group:
            Created: Wed Mar 09, 2011 08:49 PM UTC by Enrique D. Bosch
            Last Updated: Thu Sep 15, 2022 09:05 PM UTC
            Owner: nobody

            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.


            Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/bitchx/patches/1/

            To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

             

            Related

            Patches: #1

            • Demogorgoff

              Demogorgoff - 2022-09-19

              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?

               
              • Enrique D. Bosch

                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.

                 

Log in to post a comment.

MongoDB Logo MongoDB