Joshua ben Jore schreef: > Dr.Ruud: >> I see basically 3 steps: >> 1. respect strings >> 2. remove comments >> 3. compress everything else > > You may want want to convert from UTF16 to perl native strings, then > convert back. JavaScript is defined as being stored in UTF16 but > that's kind of unusual elsewhere. Isn't it?
AFAIK, the UTF-16 of JavaScript is internal. So you can just put "abc" in your JavaScript code, there is no need to make that "\0a\0b\0c". :) -- Affijn, Ruud "Gewoon is een tijger."