New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[META] seek and tell operate on bytes #12250
Comments
From @doyCreated by @doyCollecting all of the reports related to (sys)?seek and tell operating Perl Info
|
From iszczesniak@gmail.comOn Wed, Jul 4, 2012 at 11:17 PM, Jesse Luehrs <perlbug-followup@perl.org> wrote:
So how do you want to fix that? Seeking in characters instead of bytes Irek |
The RT System itself - Status changed from 'new' to 'open' |
From @doyOn Wed, Jul 04, 2012 at 02:27:30PM -0700, Irek Szczesniak via RT wrote:
I don't personally have any ideas, there just seemed to be a lot of -doy |
From @tonycozOn Wed, Jul 04, 2012 at 04:29:48PM -0500, Jesse Luehrs wrote:
I think they should be wontfix. If I have a character oriented stream that I've sensibly cached If seek()/tell() is changed to work in characters, with the "seek to As a reference, C only defines fseek() to random positions for binary Tony |
From @rjbs* Tony Cook <tony@develop-help.com> [2012-07-04T21:03:01]
I agree. I have a filehandle with encoding(utf-8). It is a sequence of two-byte In UTF-8, there is no ambiguity. I have clearly tried to read mid-sequence. My understanding is that there exist encodings where we cannot so easily -- |
From @LeontOn Fri, Sep 6, 2013 at 3:35 AM, Ricardo Signes <perl.p5p@rjbs.manxome.org>wrote:
iso-2022 is the most notorious one, though I'm not sure people use it This is all very "Doctor, it hurts when I press here" to me. Leon |
From @TuxOn Sat, 7 Sep 2013 09:51:14 +0200, Leon Timmermans <fawaka@gmail.com>
iso-6937/2 is another. And I never found tuits to make that into
-- |
From @rjbs* Leon Timmermans <fawaka@gmail.com> [2013-09-07T03:51:14]
Yes, as I said: don't *do* that :-) Oh, and with UTF-16, so I see! It hadn't occurred to me, but it's painfully -- |
Migrated from rt.perl.org#113994 (status was 'open')
Searchable as RT113994$
The text was updated successfully, but these errors were encountered: