Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8609155
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T03:48:36+00:00 2026-06-12T03:48:36+00:00

I am trying hard to find the solution of this problem but cant find

  • 0

I am trying hard to find the solution of this problem but cant find it…

I am testing an infinite scroll script (found here: https://github.com/tournasdim/PHP-infinite-scrolling ) , the infinite scroll is working fine, but after I implement that, the caracters got disconfigured just when I include the php with the results of my mysql seaarch.

My database is 100% in charset utf-8 and all the pages that Im using in this test is in uft-8 aswell. So I gess that its something I need to put on the .js file, and I am newbie on all of this dont know what to do 😀

the test page you can see here: http://hogardelocio.com/teste2.php

Note that on the top menu I wrote “ñ¿¡á” just to test and it shows no error, but down on the pictures and text that cames from the database and ajax itshow the error.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T03:48:37+00:00Added an answer on June 12, 2026 at 3:48 am

    The problem is from your database connection.

    The connection must be UTF-8.

    In PDO add charset=UTF-8 in DSN, eg: mysql:host=localhost;dbname=test;charset=UTF-8

    In old MySQL and MySQLi: before any queries run "SET NAMES 'UTF8'"

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Been trying hard to find a solution to this, but the results are pretty
I searched so hard but couldn't find a proper way to overcome this problem.
I've been trying hard on this for a while now, but can't find a
I havn't been able to find a solution to this problem on the internet
I've spent the last few hours trying to find the solution to this question
I'm trying hard to find a way to implement the Facebook api in cocos
I've been trying excessively hard to implement a good open id solution into asp.net
I'm having a real hard time trying to figure out how to fix this
I've been Googling for a while now trying to find some sort of solution
I've been struggling with this problem for a while now, searching every possible solution.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.