Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Python
piping input to an external script
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="norseman, post: 3858110"] =============== My apologies. Tim: Using what you posted; Is the third char of the first line read from file a TAB? Just curious. len(HEADER) is 63, error at 66 char number 0, doesn't seem quite consistent math wise. 63 + cr + lf gives 65. But, as another noted, you don't have those. "...66:\tillegal..." is '\t' a tab on screen or byte 1 or 3 of file? If you have mc available, in it - highlight file and press Shift-F3 then F4. 09 is TAB </title> is closing, should not exist as opener <html> can be opener, did the h somehow become a '\' (still - that would put x'09' at byte 2 of file) Most validate programs I have used will let me know the header is missing if in fact it is and give me a choice of how to process (XML, XHTML, HTML 1.1, ...) or quit. is HEADER ('<!DOC...>') itself already in utf-8? Or are you mixing things? Last but not least - if you have source of validate process, check that over carefully. The numbers don't work for me. Just thinking on paper. No need to respond. Steve [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
piping input to an external script
Top