Bug in Arduino Example? stray '\' in library

Hello,

I provide Arduino tutorials for my breakout boards we make. I have a tutorial for the HMC5883L. When the example is loaded in the Arduino IDE, by going to File > Example > HMC5883L > HMC5883L_Example the file loaded has an odd single quote character at the start of the sketch. This is not in the ino file in the library directory, but causes the application not to compile.

You can remove this character and it does not return, meaning you can compile the sketch. However to other users it appears that the sketch is broken :(

Please could someone help me resolve this? Here is a link to the library: http://c48753.r53.cf3.rackcdn.com/LoveElectronics_HMC5883L_ArduinoLibrary_V3.zip

Here is picture of the bug:

http://i.imgur.com/rV5i8.png

Many thanks.

You need a better text editor. Your example loaded in Delphi 6…

/*
HMC5883L_Example.ino - Example sketch for integration with an HMC5883L Triple Axis Magnetometer.
Copyright (C) 2012 Love Electronics (loveelectronics.com)

Attached is a version without the garbage.

HMC5883L_Example.ino (4.11 KB)