Problem - Error 500 Malformed UTF-8 characters, possibly incorrectly encoded

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Acoma
    Junior Member
    • Feb 2024
    • 5

    #1

    Problem - Error 500 Malformed UTF-8 characters, possibly incorrectly encoded

    Hi
    A platform that has been working really well and no changes or updates apart from word entries as per normal users, we have a problem that appears on one or 2 speicific members that when they visit an Case entry that has the Stream at the bottom now starts to missing the stream entries and have a top red box that reports the follwing:

    URL https://c.spelthornejobsandskills.com/
    Message in re box -
    Error 500
    Malformed UTF-8 characters, possibly incorrectly encoded

    Can you please help advise what might be calling this? and have any pointers that might help solve or fix this type of problem.
    Attached Files
  • shalmaxb
    Senior Member
    • Mar 2015
    • 1682

    #2
    as the message tells, in these recordsit may have some wrong encoded UTF-8 characters. Mostly these come from wrong encoded imports, wron copy past entries, mainly when the contain special chars, which there are a liot in foreign languages or incorrectly used. So the reasons could be various. As you limit this problem to two of your users, take e look into the records that these users saved. You mayh have a look in the MySQL database as well, as it maybe, that there you will find these characters. Wrong encoded characters mostly look a bit cryptic or do not appear at all.
    You may read a bit about hat here: https://medium.com/@salsabilifee/und...s-5449a789e767

    It may also help to export the affected records, because the wrongly encoded values normally are exported also.
    Last edited by shalmaxb; Today, 06:55 AM.

    Comment

    • Nuno Lopes
      Member
      • Jan 2024
      • 45

      #3
      And it has nothing to do with saved records, and I have a client with the same problem too and he can't even log in, it gives error 500 and the same error is in the log.

      Click image for larger version

Name:	image.png
Views:	0
Size:	33.0 KB
ID:	118967

      Comment

      • Nuno Lopes
        Member
        • Jan 2024
        • 45

        #4
        [2025-06-27 09:12:10] ERROR: (5) Malformed UTF-8 characters, possibly incorrectly encoded :: GET /App/user :: /home/nlopesp2/ilustrecorrente/application/Espo/Core/Utils/Json.php(46)
        [object] (JsonException(code: 5): Malformed UTF-8 characters, possibly incorrectly encoded at /home/nlopesp2/ilustrecorrente/application/Espo/Core/Utils/Json.php:46)

        Comment

        • shalmaxb
          Senior Member
          • Mar 2015
          • 1682

          #5
          I guess (because too little information) that it of course has to do with one ore more records, not necessary in cases (see thread #1) but perhaps in the user record. Maybe a special char in the username or something alike.

          Comment

          Working...