AJAX "Quick Edit" and "Quick Reply" doesn't work with special characters

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Valter
    Senior Member
    • Aug 2005
    • 100
    • 4.1.x

    AJAX "Quick Edit" and "Quick Reply" doesn't work with special characters

    When I edit some post and add some regular characters to it then post can be saved normally.

    If I put some special chars like "č" or "ž" or "ć" then after clicking "Save" button nothing happens.

    Same thing happens with the Quick Reply function. Just message "Posting Quick Reply - Please Wait". I have wait several minutes but nothing happens. If I refresh the page there is no new post.

    vB 3.6 RC2
    Apache v1.3.34
    PHP 4.4.1
    MySQL 4.0.27-standard

    Tried to disable all hooks/plugins... didn't solved problem.

    Any suggestion?
  • Colin F
    Senior Member
    • May 2004
    • 17689

    #2
    Go to your
    AdminCP -> vBulletin Options -> General Settings -> Disable AJAX Features

    Set that to Disable Problematic AJAX Features
    Best Regards
    Colin Frei

    Please don't contact me per PM.

    Comment

    • Valter
      Senior Member
      • Aug 2005
      • 100
      • 4.1.x

      #3
      Thanks. I'v disabled it but I'm wondering how it worked before with no problems? Is there another way to fix this?

      Note: I have no problems posting ćčćčđžš here.

      Regards,

      Cyb

      Comment

      • Colin F
        Senior Member
        • May 2004
        • 17689

        #4
        The Quick Reply didn't use AJAX before.
        AJAX transmits data in UTF-8, so if your forums character set is something like latin1, there'd be an incompatibility there.

        You'd have to change your database and the data in it to UTF-8 for it to work I think.
        Best Regards
        Colin Frei

        Please don't contact me per PM.

        Comment

        • Valter
          Senior Member
          • Aug 2005
          • 100
          • 4.1.x

          #5
          Some tables or whole database?

          Comment

          • Colin F
            Senior Member
            • May 2004
            • 17689

            #6
            The whole database.
            Best Regards
            Colin Frei

            Please don't contact me per PM.

            Comment

            • Valter
              Senior Member
              • Aug 2005
              • 100
              • 4.1.x

              #7
              Any idea on how to do it?

              ALTER TABLE [tablename] CHARACTER SET utf8; - doesn't change anything.

              Comment

              • Colin F
                Senior Member
                • May 2004
                • 17689

                #8
                You'd probably have to code a script that translates all the data, using something like iconv.
                Best Regards
                Colin Frei

                Please don't contact me per PM.

                Comment

                • Milado
                  Senior Member
                  • Mar 2005
                  • 703
                  • 3.8.x

                  #9
                  http://www.vbulletin.org/forum/showthread.php?t=118308, but this is for vB3.5

                  3.6 compatible version will be released in the near future.
                  Syrian Medical Society - mi la do - My Hacks - vCharset converter - Projects Queue

                  I want to breathe the freedom, and to strew the mounts of nostalgia in your eyes.

                  Comment

                  • payamix
                    New Member
                    • May 2005
                    • 14
                    • 3.6.x

                    #10
                    Originally posted by Colin F
                    You'd probably have to code a script that translates all the data, using something like iconv.
                    What is your suggestion ?
                    Which Script ?
                    من عشقم را در کوه گواتر، در سرخس و خرمشهر، به زبان مادری فریاد خواهم زد

                    Comment

                    • Zachery
                      Former vBulletin Support
                      • Jul 2002
                      • 59097

                      #11
                      We are saying that you will need to code one, we do not have one.

                      Comment

                      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                      Working...