Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add UTF8 test - passes

  • Loading branch information...
commit f6976a2fdd91adfebaa0302b48791bfa6304754e 1 parent 257f621
Norbert Renner nrenner authored
BIN  example/test.pbf
View
Binary file not shown
4 test/pbfTest.js
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');
});
BIN  test/test.pbf
View
Binary file not shown
1  test/test.xml
View
@@ -20,5 +20,6 @@
<nd ref="304994981"/>
<tag k="access" v="private"/>
<tag k="highway" v="service"/>
+ <tag k="name" v="üßé€"/>
</way>
</osm>
Please sign in to comment.
Something went wrong with that request. Please try again.