Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set f [open /usr/local/nm/content-repository-content-files//74/15/1/186449 r]
- set x [read $f]
- close $f
- dom parse -html $x doc
- $doc documentElement root
- set content ""
- foreach n [$root selectNodes //body/*] { append content [$n asHTML] \n }
- set content; # FINE!
- # encoding convertto utf-8 $content; ### BOOM!
Add Comment
Please, Sign In to add comment