Re: [dev-servo] HTML parser-related datatypes

2012-10-10 Thread Johnny Stenback
Hey Henri, On 10/10/2012 5:51 AM, Henri Sivonen wrote: > I am researching/prototyping a translation of the same HTML parser we > use in Gecko into Rust for use in Servo. Should the HTML parser in > Servo operate on UTF-8, UTF-16 or CESU-8? What will the DOM in Servo > use internally? Excellent qu

[dev-servo] HTML parser-related datatypes

2012-10-10 Thread Henri Sivonen
I am researching/prototyping a translation of the same HTML parser we use in Gecko into Rust for use in Servo. Should the HTML parser in Servo operate on UTF-8, UTF-16 or CESU-8? What will the DOM in Servo use internally? It appears that currently Servo uses UTF-8 contained in Rust strings interna