#12301: Template adds extra characters when using utf8 file encoding
------------------------------------+---------------------------------------
Reporter: anonymous | Owner: nobody
Status: reopened | Milestone:
Component: Uncategorized | Version: 1.1
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Comment (by anonymous):
BTW, looking to the pages source, in both browsers (IE8 and FF) shows the
same output, and nothing special there:
{{{
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"
/>
<title>test</title>
</head>
<body style="margin: 0px; padding: 0px;">
<div><div style="border: solid 1px;">something</div>
</div>
</body>
</html>
}}}
and if you copy this to simple text file and will try to save in ansii
encoding, you will get an error, saying it has unicode symbols, which you
can't see here...
--
Ticket URL: <http://code.djangoproject.com/ticket/12301#comment:3>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.