-1

I am currently working with svg files, but the files cannot be edited as xml files (as text). If I open the file in sublime in Ubuntu, it appears as a hexdump file. And if I open the file in sublime in Windows, it appears as something not readable.

See image bellow:

How file looks in Ubuntu and Windows

Is there anyway to convert this file to a readable xml/svg file?

Nahuel Ianni
  • 3,177
  • 4
  • 23
  • 30
benbenben
  • 159
  • 1
  • 3
  • 10
  • where did you get those "svg"-files? – Sirko Feb 04 '16 at 10:02
  • 1
    This is **not** an SVG file. It may have been compressed (but I don't recognize the header) or damaged in transit. More likely is that it never was an SVG file to begin with. Ask the person from who you got this. – Jongware Feb 04 '16 at 10:18

1 Answers1

1

From the dump, it looks like these are most likely .svgz files (gzipped SVG files). Try running them through gunzip.

Paul LeBeau
  • 97,474
  • 9
  • 154
  • 181