473,320 Members | 1,947 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Saved HTM File not displayed correctly

After saving TEXT combined with HTML Tags into a HTM File by ASP.NET using
filestream, the HTM Files is not displayed correctly in IE. Umlaute & e.g. €
(Euro Sign) are not shown, I get some wrong symbols.
After manually open the fine with notepad and just saving it, the HTML (BODY
part)is displayed correctly, TITLE is still wrong! Whats wrong there?
--
Markus Pöhler
netpoint-edv gmbh
Germany
Nov 19 '05 #1
2 1693
Looks like an encoding issue. For example a doc displayed on a site could
display well with encoding sent as part of the HTTP header but might be not
correctly displayed when saved as headers are not saved and the encoding
will be not known.

If this is along those lines you could try to add a meta tag to specify
which encoding you are using. Try :
http://www.w3.org/TR/REC-html40/charset.html

--
Patrice

"MarkusPoehler" <po*****@NOSPAMnetpoint-edv.de> a écrit dans le message de
news:90**********************************@microsof t.com...
After saving TEXT combined with HTML Tags into a HTM File by ASP.NET using
filestream, the HTM Files is not displayed correctly in IE. Umlaute & e.g. ? (Euro Sign) are not shown, I get some wrong symbols.
After manually open the fine with notepad and just saving it, the HTML (BODY part)is displayed correctly, TITLE is still wrong! Whats wrong there?
--
Markus Pöhler
netpoint-edv gmbh
Germany

Nov 19 '05 #2
MarkusPoehler wrote:
After saving TEXT combined with HTML Tags into a HTM File by ASP.NET
using filestream, the HTM Files is not displayed correctly in IE.
Umlaute & e.g. € (Euro Sign) are not shown, I get some wrong
symbols. After manually open the fine with notepad and just saving
it, the HTML (BODY part)is displayed correctly, TITLE is still wrong!
Whats wrong there?


Nothing. Lacking a HTTP Content-Type header, the browser guesses the
character encoding and simply errs. Either put a META tag in your HTML
as Patrice suggested, or select the correct encoding manually in your
browser.

Cheers,
--
http://www.joergjooss.de
mailto:ne********@joergjooss.de
Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: John Wilhelm | last post by:
I'm using VB.net writing out to an Excel file. every thing works fine BUT the following code does not saved the "PrintTitleRows " or "PrintTitleColumns " information to the file when the worksheet...
2
by: teo | last post by:
I have Datagrid on an aspx page. The datagrid has data distribued on several page (that is it has navigation buttons). Question: After the data are displayed on the Datagrid, all the data...
6
by: JezB | last post by:
I have an Image object (i) which I want to write to a file. This does work but when I later try to do something with this file I get errors, because I think the file is still 'locked'. I have to...
0
by: msEMMA | last post by:
Hi, Im very new to programming and need to be able to as my assignment says: Q1 The user may elect at any time to save the data, ie item number, item description, opening date, opening price to...
5
by: Amy L. | last post by:
I am at an absolute loss on what is going on here. I have a text file with some Spanish writing. Some of the characters have accents. I have not found anyway to read this text file and echo the...
1
by: R.A.M. | last post by:
Hello, I am learning PHP5. I have little experience. I have created a website in which I want to put a link to download a text file. When I used simple <a href="Dir/File.txt">Download file</a> I...
6
by: Joe Duchtel | last post by:
Hello - I'm trying to put together a little VB .NET (1.1 in VS 2003) application that lets me substitute the path in the Target: and Start in: fields of *.lnk files. Is there any way to do...
2
by: JimmyKoolPantz | last post by:
We purchased som software for encoding a barcode. We want to automate the process of converting a number to a readable barcode. However, I am having a few issues. The file that the barcode...
1
by: honeyashu | last post by:
hi i've created a form which edit & diaplayes data into a data grid.. when i save data through Save button click data gets saved but if i (after entering 3-4 records) press shortcut key as <Alt + S>...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.