Monthly Archives: February 2018

UTF-8 BOM, CUCM BAT and Other Reasons I Hate Windows

Stuck working in a customer environment without my personal laptop, or the ability to install a lot of software.

Hit this bug:


Basically, CUCM doesn’t like BOM headers in text files.  Vanilla Notepad appears to add these by default.  If you’re lucky enough to have a Linux box, this is an easy fix:


On windows, I used Notepad++ to re-encode the files to UTF-8:


BAT Import Fails – Unmapped Exception bad header in block 1 record 15, header magic is not ‘ustar’ or unix-style zeros

If you hit this issue when uploading a BAT file, it’s probably because your bat files are encoded in ANSI, not UTF-8.

Yes, it is a CUCM defect:


For a small number of files, you can simply use vanilla Notepad in Windows, and “Save As”, selecting a new format:


However, when you face this with 50+ BAT files like I did, a useful script goes a long way


Collaboration Engineer

All things Technology - Posts to save for when you need them

Gerry Keleghan's Blog

A Blog about Cisco Unified Communications


my personal journey to ccie collaboration

Striving for greatness

Thoughts on DevOps, emerging tech, and open source

Network Experts Blog

“Knowledge comes by eyes always open and working hands.”

SIP Adventures

A unified communications blog by Andrew Prokop

The Cloverhound Blog

Cloverhound Employees Talk Unified Communications and Contact Center


Fog navigator. Get out of the clouds. Down to earth solutions. @Warcop

Cisco Collab Engineering Tips

Michael White - CCIE #26626


Photography by Manos,


Thoughts and experiences of a Cisco Collaboration engineer after clearing the CCIE lab...

The Daily Post

The Art and Craft of Blogging

The Blog

The latest news on and the WordPress community.

%d bloggers like this: