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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T04:38:06+00:00 2026-06-19T04:38:06+00:00

Rich text field value <div>&#160;</div> output <div>?</div> DWT: <!DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01

  • 0

Rich text field value <div>&#160;</div>

output <div>?</div>

DWT:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
@@Component.Fields.Text@@
</html>

what did i miss?

thanks

  • 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-19T04:38:07+00:00Added an answer on June 19, 2026 at 4:38 am

    I can’t try it out now due to lack of time, but a few things come to mind:

    • What’s the encoding set on your publication target?
    • Do you get the same result in Template Builder and Preview?
    • If you open the published file with a text editor like Notepad++, what does it show?

    EDIT

    In preview I get this:

    <div> </div>
    

    After publishing I get the same as you:

    <div>?</div>
    

    So I changed my publication target to use “Unicode (UTF-8)” instead of “System Default”, and now when I publish I get this:

    <div> </div>
    

    I then referred to Elena’s excellent 7 clues to deal with encoding, and figured out I was missing this on my web.config:

    <globalization fileEncoding="UTF-8" requestEncoding="UTF-8" responseEncoding="UTF-8"/>
    

    This still didn’t do it, it was still loading this weird character in between the tags. This last clue was because the encoding was not being applied to pages with the “.html” extension. Renamed my page template to have a .aspx extension, published, pressed F5 and magic, my div now shows:

    <div> </div>
    

    EDIT 2 If you want to use the .html extension, just add this to your page’s <head>:

    <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have content in a Rich Text Field where the HTML view of the
For a rich text editor that has to handle pasted HTML code from MS
I am using php to output some rich text. How can I strip out
I have a database table with a field containing RTF (Rich text Format). I
I have a Django model with a text field. I'm using a rich text
I have notes document with rich text field. In this RTF there is attachment
I want to test if a CKEditor ( Rich Text ) field is empty
I'm saving html and/or rich formated text in a database, and I'm trying to
I have inserted xml into SQL Server 2005 through rich text field successfully, now
I have a string that gets saved as rich text to a SQL field,

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.