On Fri, Jul 13, 2012 at 1:17 PM, Manfred Lotz wrote:
> But if I'm using it in a subroutine then 'use bytes' is only effective
> in the scope of the subroutine, isn't it? That is how I would use it
> preferably.
Yeah, it appears that way. "use" is a compile time event (require is
runtime) so I was
On Thu, 12 Jul 2012 15:40:55 -0500
Andy Bach wrote:
> On Thu, Jul 12, 2012 at 3:25 PM, Manfred Lotz
> wrote:
> > This is really nice. I fumbled with unpack before but have to admit
> > that I didn't know about 'use bytes' which is the key.
>
> Couple interesting links, unpack in painful detail:
On Thu, Jul 12, 2012 at 3:25 PM, Manfred Lotz wrote:
> This is really nice. I fumbled with unpack before but have to admit
> that I didn't know about 'use bytes' which is the key.
Couple interesting links, unpack in painful detail:
http://www.perlmonks.org/?node_id=224666
and utf-8 and "use byte
On Thu, 12 Jul 2012 21:01:35 +0200
Manfred Lotz wrote:
...
> >
>
> On the one hand I believe there must be a 'better' way. On the other
> hand I like the idea (didn't occur to me) to read from the string as
> if it were a file.
>
I found something in a blog from Jan Ploski:
http://plosquare.b
Hi Shawn,
Thanks for your reply.
On Thu, 12 Jul 2012 14:50:16 -0400
Shawn H Corey wrote:
> On 12-07-12 02:08 PM, Manfred Lotz wrote:
> > The following code works fine. However, I like to know how to
> > retrieve the UTF-8 hex representation of $uchar which is x'e0a487'.
> > This is the internal
On 12-07-12 02:08 PM, Manfred Lotz wrote:
The following code works fine. However, I like to know how to retrieve
the UTF-8 hex representation of $uchar which is x'e0a487'. This is the
internal representation in Perl, so it should be possible to print it
out. Is there any function or module I coul
Hi all,
Perhaps this is a stupid question. Anyway.
The following code works fine. However, I like to know how to retrieve
the UTF-8 hex representation of $uchar which is x'e0a487'. This is the
internal representation in Perl, so it should be possible to print it
out. Is there any function or modul
I have a DHTML editor embedded in a webpage. The output of the editor is
handled by perl and written to text-files.
Sometimes text is pasted into the editor from a word document, and it
contains unicode characters from sets such as Latin Extended Additional.
(This is on a win2k machine.)
Ques