Index: /trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java	(revision 6907)
+++ /trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java	(revision 6908)
@@ -571,5 +571,5 @@
 
         /**
-         * Calculate the CRC32 checksum from a string
+         * Calculates the CRC32 checksum from a string (based on RFC 1952).
          * @param s the string
          * @return long value from 0 to 2^32-1
@@ -577,5 +577,5 @@
         public static long CRC32_checksum(String s) {
             CRC32 cs = new CRC32();
-            cs.update(s.getBytes());
+            cs.update(s.getBytes(Utils.UTF_8));
             return cs.getValue();
         }
