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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T17:04:56+00:00 2026-05-14T17:04:56+00:00

I am writing a webapp in ZF and am having serious issues with UTF8.

  • 0

I am writing a webapp in ZF and am having serious issues with UTF8. It’s using multi lingual content through Zend Form and it seems that ZF heavily escapes all of these characters and basically just won’t show a field if there’s diacritical elements ‘é’ and if I use the HTML entity equivalent e.g. é it gets escaped so that the user will see ‘é’.

Zend Form allows for having non escaped data, but trying to use this is confusing, and it seems it’d need to be used all over the place.

So, I have been told that if the page and the text is in UTF8, no conversion to htmlentities is required. Is this true?

And if the last question is true, then how do I convert the source text to UTF8? I am comfortable setting up apache so that it sends a default UTF8 charset heading, and also adding the charset meta tag to the html, but doing this I am still getting messed up encoding. I have also tried opening the translation csv file in TextWrangler on OSX as UTF8, but it has done nothing.

Thanks!

L

  • 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-05-14T17:04:56+00:00Added an answer on May 14, 2026 at 5:04 pm

    ‘é’ and if I use the HTML entity equivalent e.g. é it gets escaped so that the user will see ‘é’.

    This I don’t understand. Can you show an example of how it is displayed, as opposed to how it should be displayed?

    So, I have been told that if the page and the text is in UTF8, no conversion to htmlentities is required. Is this true?

    Yup. In more detail: If the data you’re displaying and the encoding of the HTML page are both UTF-8, the multi-byte special characters will be displayed correctly.

    And if the last question is true, then how do I convert the source text to UTF8?

    Advanced editors and IDEs enable you to define what encoding the source file is saved in. You would need to open the file in its current encoding (with special characters being displayed correctly) and save it as UTF-8.

    If the content is messed up when you have the right content-type header and/or meta tag specified, then the content is not UTF-8 yet. If you don’t get it sorted, post an example of what it looks like here.

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

Sidebar

Related Questions

I am writing a webapp using CodeIgniter that requires authentication. I created a model
I'm writing a webapp using Zend framework and a homebrew widget system. Every widget
I'm writing a web app, and I'm having a serious problem with too much
I'm writing a webapp that will only be used by authenticated users. Some temporary
I'm writing a webapp, and interfacing with MySQL using Hibernate 3.5. Using デスクトップ ინგლისური
I intend on writing a small webapp using the Play framework with Scala and
I'm writing a webapp that basically allows users to kick off shell scripts with
All, I'm writing a web app that will receive user generated text content. Some
I am writing a MVC 3 WebApp which uses XRM 2011 using Early Bound.
I'm writing a webapp that uses the YouTube Code API to do specific types

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.