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 8537303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:52:12+00:00 2026-06-11T10:52:12+00:00

In one array there’s a variable that has an é in it. I tried

  • 0

In one array there’s a variable that has an é in it. I tried to replace it with a normal e
using

echo strtr($var, "é", "e");

but even that doesn’t work. It’s weird. At the top of my page there’s

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

then when I load the page the é character gets converted to [[#233]] and a plugin to convert things to pdf is saying to me that the document contains invalid UTF-8 character(s).
Anyone got a clue? The variable between comes from a latin1_swedish_ci database field.

  • 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-11T10:52:13+00:00Added an answer on June 11, 2026 at 10:52 am

    That é being 00E9 sounds like Windows-1252 (CP1252). Not in the control range but I’ve had similar issues. Could use iconv to convert it and ensure valid UTF-8.

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

Sidebar

Related Questions

Is there a command that can append one array of char onto another? Something
Is there a way i can replace the values of one array with the
Is there a way in JavaScript to compare values from one array and see
There is an associative array with only one pair key=>value . I don't know
There are N values in the array, and one of them is the smallest
I have one array that is filled by mysql_query. Values that are in this
I have one array. I want that array to retain its value between function
findParent() function find array. There could be one array or more than one. Now
if only one array is there for example $values = array(x, y, z); i
I am trying to sort one array, but have a second array stay in

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.