Issues with I2C LCD

I got my 20x4 LCD and I2C adapter. I downloaded the I2C library from here https://brainy-bits.com/tutorials/connect-a-character-lcd-using-the-i2c-bus/ I opened the "hello world" example from the library folder (.pde) and when compiling I get this error.

Arduino: 1.6.6 (Windows 7), Board: "Arduino Nano, ATmega328"

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\5' in program

 d9;Safari;AE9B8EF6-19E5-4079-8EE4-37865752B4FFUTF-8;134217984

  ^

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\26' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\7' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\2' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\2' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\16' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\260' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\2' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\16' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\342' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\1' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\36' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\300' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\271' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\16' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\342' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\274' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\2' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\274' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\25' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\365' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\17' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\27' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:229: error: exponent has no digits

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\1' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\1' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\36' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\1' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\1' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\36' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\34' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\36' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\377' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:2: error: stray '\377' in program

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:9: error: 'Mac' does not name a type

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:194: error: expected unqualified-id before numeric constant

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:203: error: 'Safari' does not name a type

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:210: error: 'AE9B8EF6' does not name a type

G:\arduino-1.6.6-windows\arduino-1.6.6\libraries\LiquidCrystal\examples\HelloWorld_i2c\._HelloWorld_i2c.pde:1:252: error: expected unqualified-id before numeric constant

exit status 1
Error compiling.

any ideas?

Apparently when you downloaded or copied that code, it had a bunch of stray characters in it that you can't see. That happens a lot when copy - pasting from webpages. You can open the text in a file that can see those characters and erase them or you can manually copy the code over by reading it and typing it back in yourself.

The other errors we can't possibly help with without seeing the code that caused them.