Index: trunk/src/org/openstreetmap/josm/data/projection/CustomProjection.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/projection/CustomProjection.java	(revision 8610)
+++ trunk/src/org/openstreetmap/josm/data/projection/CustomProjection.java	(revision 8611)
@@ -196,5 +196,5 @@
                 String zoneStr = parameters.get(Param.zone.key);
                 Integer zone;
-                if (zoneStr == null) 
+                if (zoneStr == null)
                     throw new ProjectionConfigurationException(tr("UTM projection (''+proj=utm'') requires ''+zone=...'' parameter."));
                 try {
@@ -236,5 +236,10 @@
             s = parameters.get(Param.units.key);
             if (s != null) {
-                this.metersPerUnit = UNITS_TO_METERS.get(s);
+                s = Utils.strip(s, "\"");
+                if (UNITS_TO_METERS.containsKey(s)) {
+                    this.metersPerUnit = UNITS_TO_METERS.get(s);
+                } else {
+                    Main.warn("No metersPerUnit found for: " + s);
+                }
             }
             s = parameters.get(Param.to_meter.key);
@@ -357,5 +362,5 @@
             ellps = Ellipsoid.WGS84;
         }
-        
+
         String nadgridsId = parameters.get(Param.nadgrids.key);
         if (nadgridsId != null) {
