On Tue, Feb 20, 2001 at 03:02:00AM +0000, Simon Cozens wrote: > On Mon, Feb 19, 2001 at 09:53:14PM -0500, Andrew Pimlott wrote: > > Since nobody else has yet proposed any specific interfaces, > > What about the one we've got? I'm not familiar with the complete semantics of the one we've got. I really need them. > I wonder if this would work: > > sub to_utf8 { > use bytes > return $_[0] > } I saw Jarkko's reply, but regardless of what he said, can you explain what you want that to do if the internal representation is not (at the moment) UTF-8? > Your senses are deceiving you. I don't think of UTF8 as "what just works", but > I do think of it as "what we have decided will become Perl's internal > representation for non-native data". If you want to expose this, in something like the fashion you describe above, I'm afraid you're creating too many complications that you haven't thought through. But I don't think I can convince anyone unless I hear complete semantics that I can analyze. AndrewThread Previous | Thread Next