Ticket #1408 (closed enhancement: not relevant)
How to examine/inspect Unicode strings?
| Reported by: | szabgab | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Debugger for Perl 5 | Version: | 0.86 |
| Keywords: | Cc: |
Description
Attachments
Change History
comment:2 Changed 15 months ago by bowtie
- Priority changed from major to minor
- Type changed from defect to enhancement
Padre 0.86 and Debug1 with Perl 5.014000 Humm!
I thought Unicode not fixed until Perl 5.014002.
I will take a look at this against Debug2 when a test sample is provided with comments.
comment:3 Changed 14 months ago by bowtie
- Status changed from new to closed
- Resolution set to not relevant
Ok so have you viewed the answer on
http://stackoverflow.com/questions/9440233/padre-how-to-examine-inspect-unicode-strings
and perlmonks
http://www.perlmonks.org/?node_id=644786
so the author should have used the following form
use feature 'unicode_strings'; open ( $fh, "<:encoding(UTF-8)", $file ) or die $!;
so I ask myself what has this to do with Padre, and Debug2.
nothing :)
O and as for viewing hex code (entities), you could try a hex editor like GHex.
Note: See
TracTickets for help on using
tickets.

artical:
I have a project dealing with Unicode text manipulation. I am using Perl 5.014 and the Padre debugger v 0.86 (that's the latest Padre version for ActiveState Perl distribution). In Padre, it's important to be able to view (examine/inspect) the program variables in the "Debugger" pane at the right hand side, especially the Unicode strings. It turns out that the debugger pane does not show the strings in their character glyphs. For scalars, it show gibberish, and for arrays, it shows them in the "\x{05FF} notation, which is cryptic and un-intuitive. Is there a way to make Padre show the strings in the right glyphs? Going: "View -> Language" and changing the language doesn't help. It affects only the menus. Note that in the editor, Unicode literals are shown right. I am running Windows 7 x64. I do have these in the program: use utf8; ... binmode(STDOUT, ":unix:utf8"); binmode $DB::OUT, ':unix:utf8' if $DB::OUT;