Permalink
Browse files

add UTF8 test - passes

  • Loading branch information...
1 parent 257f621 commit f6976a2fdd91adfebaa0302b48791bfa6304754e @nrenner nrenner committed Mar 5, 2014
Showing with 5 additions and 0 deletions.
  1. BIN example/test.pbf
  2. +4 −0 test/pbfTest.js
  3. BIN test/test.pbf
  4. +1 −0 test/test.xml
View
Binary file not shown.
View
@@ -180,6 +180,10 @@ describe('pbf read', function(){
way.tags.highway.should.be.equal('service');
});
+ it('then way has tag name=üßé€', function(){
+ way.tags.name.should.be.equal('üßé€');
+ });
+
it('then first way node ref has id 304994979', function(){
way.nodeRefs[0].should.be.equal('304994979');
});
View
Binary file not shown.
View
@@ -20,5 +20,6 @@
<nd ref="304994981"/>
<tag k="access" v="private"/>
<tag k="highway" v="service"/>
+ <tag k="name" v="üßé€"/>
</way>
</osm>

0 comments on commit f6976a2

Please sign in to comment.