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

  • Home
  • SEARCH
  • 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 8088479
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T19:06:09+00:00 2026-06-05T19:06:09+00:00

I insert from csv characters from different languages.. I apply this to every set

  • 0

I insert from csv characters from different languages..

I apply this to every set of characters:

    private function process_elements($element){
       utf8_encode($element);
      return $element;
}

The problem is when they go into the database, they go like this:

???????? ?? ???????????? ????? ??????? ??? ???????...

When I retrieve them from the databse, I also get this.

This happens with greek. However, when I retrieve greek pages (through scrapping), who are on a utf encoded page. The characters look like this:

Δες webcam δωμάτια | Gr.ImLive.com

which is okay, because when i use the utf8_encode function, they look normal on the screen..

But when the data is taken from the csv and be put into the database, i get those question marks..

Is there a way to encode form any language to utf.. why retrieving data from csv and a utf8 encoded webpage makes such a difference.. they look the same.. how do I address that problem?

  • 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-05T19:06:12+00:00Added an answer on June 5, 2026 at 7:06 pm

    please take a look at this

    it will help you

    Handling Unicode Front To Back In A Web App

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

Sidebar

Related Questions

I need to insert about 1.8 million rows from a CSV file into a
I have a little problem to insert from 2 different table's in C# to
I am trying to insert data from a csv file into mysql using BigDump.
I am trying to read from a csv file and insert the data into
I am import from a CSV to Mysql, every works fines the only problem
I run this db2 IMPORT FROM C:\my.csv OF DEL MODIFIED BY COLDEL, LOBSINFILE DATEFORMAT=\D/MM/YYYY\
I want to insert 65545 rows from csv to SQL Server 2008 in C#.net
I've got a stored procedure I use to insert data from a csv. The
I need to perform a dataload every day from a csv available online e.g.
I'm trying to insert some data into a table from a csv document which

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.