[Project_owners] Detecting file charset

郭利 guolii2005 at gmail.com
Tue Feb 13 17:59:21 PST 2007


I have the same question too!

2007/2/13, Zachary Carter <zack.carter at gmail.com>:
>
> Hello,
> I have been searching for a scriptable way to detect the charset of a
> file (say, file://some/file/path) but to no avail. I see that
> nsIScriptableUnicodeConverter can convert to and from Unicode, but I
> want to able to detect what the original charset of
> the file. So far I haven't found any interfaces to accomplish this.
> Maybe some one here has seen one?
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/project_owners/attachments/20070214/a138b25e/attachment-0001.html 


More information about the Project_owners mailing list