Maintenance

  • Home
  • Log in
  • « eXist serializer
  • pgAdmin3 SSH tunnel setup (updated for v4) »

wget/grep/utf-16

Posted by gregster on 19 Dec 2014 in Documentation, Announcements
Tried to wget a webpage and hand it off to grep to get a string, but had trouble doing it because the file was produced by MS Office and was a UTF-16 file (Little-endian, windows line-endings, etc.) Not sure which part of all of that was the culprit, but a utility (looks like part of a stock Ubuntu install) called iconv will take care of this. Running this: iconv -f utf-16 -t utf-8 fixed.html |grep 'Symbola' worked a treat.
This entry was posted by Greg and filed under Documentation, Announcements.

Maintenance

This blog is the location for all work involving software and hardware maintenance, updates, installs, etc., both routine and urgent.
  • Home
  • Recently
  • Archives
  • Categories

Search

Categories

  • All
  • Announcements
  • Hit by a bus
  • Labs
    • Activity log
    • Documentation
  • Notes
  • R & D
    • Activity log
    • Documentation
  • Servers
    • Activity log
    • Documentation
  • Tasks

All blogs

  • Academic
  • AdaptiveDB
  • Admin
  • Announcements
  • CanMys
  • Cascade
  • CGWP
  • ColDesp
  • Depts
  • DVPP
  • Endings
  • HCMC Blogs
  • Landscapes
  • LEMDO
  • Linguistics
  • Maint
  • LondonMap
  • Mariage
  • MoM
  • Moses
  • Pro-D
  • Projects
  • ScanCan
  • HumsSites
  • Wendat

This collection ©2026 by admin • Help • multiblog • hosting companies