determine encoding from headers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gedit |
Won't Fix
|
Wishlist
|
|||
gedit (Ubuntu) |
Triaged
|
Low
|
Ubuntu Desktop Bugs |
Bug Description
Binary package hint: gedit
I type code:
'<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://
<html xmlns="http://
</html>'
and it is recognized as HTML, '<?xml version="1.0" encoding="utf-8" standalone="no"?>' is not highlighted, just like '<?xml-stylesheet type="..."?>' when I add this too. This is a bug because, the code is not HTML, but XHTML, so of course XML too. This is annoying, because of not highlighting '<?xml version="1.0" encoding="utf-8" standalone="no"?>' and '<?xml-stylesheet type="..."?>'.
ProblemType: Bug
Architecture: i386
Date: Sun Dec 20 11:24:40 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/gedit
Package: gedit 2.28.0-0ubuntu2
ProcEnviron:
LANG=pl_PL.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: gedit
Uname: Linux 2.6.31-17-generic i686
Changed in gedit: | |
importance: | Unknown → Wishlist |
status: | Unknown → Confirmed |
Changed in gedit: | |
status: | Confirmed → Won't Fix |
I've used the same example here and saved the file as .xhtml ; the xml part is highlighted here, could you take an screenshot of what you're seeing there? with which file extension are you saving the file?