[PATCH] RFA: -finput-charset support
Eric Christopher
echristo@redhat.com
Thu Jan 29 23:46:00 GMT 2004
> Any ideas for optimizing (or not pessimizing) common cases?
Use a UTF-8 environment? :)
At least that seems to be where gnome/kde are going on the free desktop
side of things. I'm not sure about sun, apple or hp though. The default
locale for my machine is UTF-8 now.
Otherwise we could reimplement the self conversion routine, but I'm not
seeing that as any faster than the iconv routine. If we could get a
detection routine to see if there are any, say, iso-8859-1 specific
characters in a file to be faster than just blindly converting the file
then that might be a win. I'm not sure how much of a win it would be
though, and whether or not it'd be worth the extra pain.
-eric
--
Eric Christopher <echristo@redhat.com>
More information about the Gcc-patches
mailing list