view release on metacpan or search on metacpan
parse_fullstmt||5.013005|
parse_label||5.013007|
parse_listexpr||5.013008|
parse_stmtseq||5.013006|
parse_termexpr||5.013008|
parse_unicode_opts|||
parser_dup|||
parser_free|||
path_is_absolute|||n
peep|||
pending_Slabs_to_ro|||
#ifndef PERL_PV_PRETTY_REGPROP
# define PERL_PV_PRETTY_REGPROP PERL_PV_PRETTY_ELLIPSES|PERL_PV_PRETTY_LTGT|PERL_PV_ESCAPE_RE
#endif
/* Hint: pv_escape
* Note that unicode functionality is only backported to
* those perl versions that support it. For older perl
* versions, the implementation will fall back to bytes.
*/
#ifndef pv_escape
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Aozora2Epub/XHTML.pm view on Meta::CPAN
return if $men == 2 && $ku == 15 && $ten == 73;
return jisx0213_to_utf8($men, $ku, $ten);
}
# kindle font of these characters are broken.
our %kindle_broken_font_unicode = map { $_ => 1 } (
0x2152,
0x2189,
0x26bd,
0x26be,
0x3244,
lib/Aozora2Epub/XHTML.pm view on Meta::CPAN
0x22d07, 0x22e42, 0x22feb, 0x233fe, 0x23cbe, 0x249ad,
0x24e04, 0x24ff2, 0x2546e, 0x2567f, 0x259cc, 0x2688a,
0x279b4, 0x280e9, 0x28e17, 0x29170, 0x2a2b2,
);
sub kindle_unicode_hex2chr {
my $unicode_hex = shift;
my $unicode = hex($unicode_hex);
return if $kindle_broken_font_unicode{$unicode};
# kindle font is almost not avaliable in this range.
return if $unicode > 0xffff && !$kindle_ok_font_over0xffff{$unicode};
return chr($unicode);
}
sub _conv_gaiji_title_author {
my ($unicode, $men, $ku, $ten) = @_;
if ($unicode) {
my $ch = kindle_unicode_hex2chr($unicode);
return $ch if $ch;
return;
}
my $ch = kindle_jis2chr(0+$men, 0+$ku, 0+$ten);
return $ch if $ch;
lib/Aozora2Epub/XHTML.pm view on Meta::CPAN
my $note = $span->as_text;
return unless $note =~ m{ï¼»ï¼[^\ï¼½]+?ã([^\ï¼½]+)ï¼½};
my $desc = $1;
my $ch = do {
if ($desc =~ /U\+([A-fa-f0-9]+)/) {
kindle_unicode_hex2chr($1);
} elsif ($desc =~ /第\dæ°´æº(\d)-(\d+)-(\d+)/) {
kindle_jis2chr(0+$1, 0+$2, 0+$3);
}
};
return unless $ch;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/AuthCookie/Params/Base.pm view on Meta::CPAN
=head2 new($r)
Constructor. This will generate either an internal
L<Apache::AuthCookie::Params::CGI> object, or, if available, use libapreq2.
Note that libapreq2 will not be used if you turned on C<Encoding> support
because libapreq2 does not have any support for unicode.
=head1 SOURCE
The development version is on github at L<https://github.com/mschout/apache-authcookie>
and may be cloned from L<https://github.com/mschout/apache-authcookie.git>
view all matches for this distribution
view release on metacpan or search on metacpan
AuthenNTLM.pm view on Meta::CPAN
}
}
sub substr_unicode
{
my ($data, $off, $len) = @_ ;
my $i = 0 ;
my $end = $off + $len ;
AuthenNTLM.pm view on Meta::CPAN
my $domain = $dom_off?substr ($data, $dom_off, $dom_len):'' ;
$self -> {domain} = $dom_len?$domain:$self -> {defaultdomain} ;
$self -> {host} = $host_len?$host:'' ;
$self -> {accept_unicode} = $flags1 & 0x01;
if ($debug)
{
my @flag1str;
foreach my $i ( sort keys %msgflags1 )
AuthenNTLM.pm view on Meta::CPAN
sub set_msg2
{
my ($self, $r, $nonce) = @_ ;
my $charencoding = $self->{ accept_unicode } ? $invflags1{ NEGOTIATE_UNICODE } : $invflags1{ NEGOTIATE_OEM };
my $flags2 = $invflags2{ NEGOTIATE_ALWAYS_SIGN } | $invflags2{ NEGOTIATE_NTLM };
my $data = pack ('Z8Ca7vvCCa2a8a8', 'NTLMSSP', 2, '', 40, 0, $charencoding, $flags2, '', $nonce, '') ;
AuthenNTLM.pm view on Meta::CPAN
$msg_len
) = unpack ('Z8Ca3vvVvvVvvVvvVvvVv', $data) ;
my $lm = $lm_off ? substr ($data, $lm_off, $lm_len):'' ;
my $nt = $nt_off ? substr ($data, $nt_off, $nt_len):'' ;
my $user = $user_off ? ($self->{accept_unicode} ? substr_unicode ($data, $user_off, $user_len) : substr( $data, $user_off, $user_len ) ) :'' ;
my $host = $host_off ? ($self->{accept_unicode} ? substr_unicode ($data, $host_off, $host_len) : substr( $data, $host_off, $host_len ) ) :'' ;
my $domain = $dom_off ? ($self->{accept_unicode} ? substr_unicode ($data, $dom_off, $dom_len) : substr( $data, $dom_off, $dom_len ) ) :'' ;
$self -> {userdomain} = $dom_len?$domain:$self -> {defaultdomain} ;
$self -> {username} = $user ;
$self -> {usernthash} = $nt_len ? $nt : $lm;
view all matches for this distribution
view release on metacpan or search on metacpan
Revision history for Perl extension Apache::AxKit::Language::SpellCheck
0.03 Wed Jan 26 16:40:08 PST 2005
- Fixed bug where some words would be dropped
- Made it only match alpha characters
- Made it match unicode characters
- Improved the loop to be more sane with identifying words
0.02 Thu Jan 20 10:22:00 PST 2005
- Added additional documentation
- Changed the namespace URI to point to the axkit.org domain
view all matches for this distribution
view release on metacpan or search on metacpan
pad_sv|||
pad_swipe|||
pad_tidy|||
pad_undef|||
parse_body|||
parse_unicode_opts|||
path_is_absolute|||
peep|||
pending_ident|||
perl_alloc_using|||n
perl_alloc|||n
view all matches for this distribution
view release on metacpan or search on metacpan
}
sub data_string_diff {
# Compares 'logical' characters, not bytes, so a latin1 string and an
# an equivalent unicode string will compare as equal even though their
# byte encodings are different.
my ($a, $b) = @_;
unless (defined $a and defined $b) { # one undef
return ""
if !defined $a and !defined $b;
view all matches for this distribution
view release on metacpan or search on metacpan
application/xml. You can use this on a per-directory basis.
=head2 XMLUtf16EncodingBE
Allows you to set the encoding of big-endian (read: normal)
utf 16 (unicode) documents. The default is 'utf-16'
PerlSetVar XMLUtf16EncodingBE utf-16-be
=head2 XMLUtf16EncodingLE
view all matches for this distribution
view release on metacpan or search on metacpan
migration/README view on Meta::CPAN
=============================================================
Migration from 1.11 to 1.12
1. It is important to note that if PageKit runs in a perl 5.6.x environment
all internal pages are in default_output_charset. For perl 5.8.x
all these pages are in perl's own unicode format. This change should
be transparent to the user but many libraries do not support perl's
new character handling.
=============================================================
Migration from 1.10 to 1.11
view all matches for this distribution
view release on metacpan or search on metacpan
t/apache/020_ht_page.t
t/apache/030_sess_page.t
t/apache/040_transactions.t
t/apache/050_validate.t
t/apache/060_guitest.t
t/apache/070_unicode.t
t/apache/080_upload.t
t/apache/090_redirect.t
t/apache/100_worker.t
t/T/Redirect.pm
t/T/Test.pm
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/SdnFw/js/tinymce/jscripts/tiny_mce/tiny_mce_src.js view on Meta::CPAN
if ( document.querySelectorAll ) {
(function(){
var oldSizzle = Sizzle, div = document.createElement("div");
div.innerHTML = "<p class='TEST'></p>";
// Safari can't handle uppercase or unicode characters when
// in quirks mode.
if ( div.querySelectorAll && div.querySelectorAll(".TEST").length === 0 ) {
return;
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/Session/Browseable/DBI.pm view on Meta::CPAN
my $dbh =
DBI->connect_cached( $datasource, $username, $password,
{ RaiseError => 1, AutoCommit => 1 } )
|| die $DBI::errstr;
if ( $datasource =~ /^dbi:sqlite/i ) {
$dbh->{sqlite_unicode} = 1;
}
elsif ( $datasource =~ /^dbi:mysql/i ) {
$dbh->{mysql_enable_utf8} = 1;
}
elsif ( $datasource =~ /^dbi:pg/i ) {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Apache/Solr/Tables.pm view on Meta::CPAN
tv.offsets
tv.payloads
tv.positions
tv.tf
tv.tf_idf
unicodeAware
useConfiguredElevatedOrder
xmlOffsetAdjust
/;
our %introduced = qw/
view all matches for this distribution
view release on metacpan or search on metacpan
Wyrd/Interfaces/Setter.pm view on Meta::CPAN
my $out = ''; #buffer for the completed expression
my $depth = 0; #how many layers of conditionals are we at?
do {
$changed = 0;
foreach my $char (unpack('U*', $string)) {
$char = chr($char);#returns unicode
if ($mode eq 's') {#always begin by seeking
if ($char eq '?' or $char eq '!') {
$buf = '';
$buf .= $char;
$mode = 'c';
view all matches for this distribution
view release on metacpan or search on metacpan
AuthenNTLM.pm view on Meta::CPAN
}
}
sub substr_unicode
{
my ($data, $off, $len) = @_ ;
my $i = 0 ;
my $end = $off + $len ;
AuthenNTLM.pm view on Meta::CPAN
my $domain = $dom_off?substr ($data, $dom_off, $dom_len):'' ;
$self -> {domain} = $dom_len?$domain:$self -> {defaultdomain} ;
$self -> {host} = $host_len?$host:'' ;
$self -> {accept_unicode} = $flags1 & 0x01;
if ($debug)
{
my @flag1str;
foreach my $i ( sort keys %msgflags1 )
AuthenNTLM.pm view on Meta::CPAN
sub set_msg2
{
my ($self, $r, $nonce) = @_ ;
my $charencoding = $self->{ accept_unicode } ? $invflags1{ NEGOTIATE_UNICODE } : $invflags1{ NEGOTIATE_OEM };
my $flags2 = $invflags2{ NEGOTIATE_ALWAYS_SIGN } | $invflags2{ NEGOTIATE_NTLM };
my $data = pack ('Z8Ca7vvCCa2a8a8', 'NTLMSSP', 2, '', 40, 0, $charencoding, $flags2, '', $nonce, '') ;
AuthenNTLM.pm view on Meta::CPAN
$msg_len
) = unpack ('Z8Ca3vvVvvVvvVvvVvvVv', $data) ;
my $lm = $lm_off ? substr ($data, $lm_off, $lm_len):'' ;
my $nt = $nt_off ? substr ($data, $nt_off, $nt_len):'' ;
my $user = $user_off ? ($self->{accept_unicode} ? substr_unicode ($data, $user_off, $user_len) : substr( $data, $user_off, $user_len ) ) :'' ;
my $host = $host_off ? ($self->{accept_unicode} ? substr_unicode ($data, $host_off, $host_len) : substr( $data, $host_off, $host_len ) ) :'' ;
my $domain = $dom_off ? ($self->{accept_unicode} ? substr_unicode ($data, $dom_off, $dom_len) : substr( $data, $dom_off, $dom_len ) ) :'' ;
$self -> {userdomain} = $dom_len?$domain:$self -> {defaultdomain} ;
$self -> {username} = $user ;
$self -> {usernthash} = $nt_len ? $nt : $lm;
view all matches for this distribution
view release on metacpan or search on metacpan
pad_sv||5.011000|
pad_swipe|||
pad_tidy|||
pad_undef|||
parse_body|||
parse_unicode_opts|||
parser_dup|||
parser_free|||
path_is_absolute|||n
peep|||
pending_Slabs_to_ro|||
#ifndef PERL_PV_PRETTY_REGPROP
# define PERL_PV_PRETTY_REGPROP PERL_PV_PRETTY_ELLIPSES|PERL_PV_PRETTY_LTGT|PERL_PV_ESCAPE_RE
#endif
/* Hint: pv_escape
* Note that unicode functionality is only backported to
* those perl versions that support it. For older perl
* versions, the implementation will fall back to bytes.
*/
#ifndef pv_escape
view all matches for this distribution
view release on metacpan or search on metacpan
pad_sv||5.011000|
pad_swipe|||
pad_tidy|||
pad_undef|||
parse_body|||
parse_unicode_opts|||
parser_dup|||
parser_free|||
path_is_absolute|||n
peep|||
pending_Slabs_to_ro|||
#ifndef PERL_PV_PRETTY_REGPROP
# define PERL_PV_PRETTY_REGPROP PERL_PV_PRETTY_ELLIPSES|PERL_PV_PRETTY_LTGT|PERL_PV_ESCAPE_RE
#endif
/* Hint: pv_escape
* Note that unicode functionality is only backported to
* those perl versions that support it. For older perl
* versions, the implementation will fall back to bytes.
*/
#ifndef pv_escape
view all matches for this distribution
view release on metacpan or search on metacpan
pad_sv||5.011000|
pad_swipe|||
pad_tidy|||
pad_undef|||
parse_body|||
parse_unicode_opts|||
parser_dup|||
parser_free|||
path_is_absolute|||n
peep|||
pending_Slabs_to_ro|||
#ifndef PERL_PV_PRETTY_REGPROP
# define PERL_PV_PRETTY_REGPROP PERL_PV_PRETTY_ELLIPSES|PERL_PV_PRETTY_LTGT|PERL_PV_ESCAPE_RE
#endif
/* Hint: pv_escape
* Note that unicode functionality is only backported to
* those perl versions that support it. For older perl
* versions, the implementation will fall back to bytes.
*/
#ifndef pv_escape
view all matches for this distribution
view release on metacpan or search on metacpan
migration/README view on Meta::CPAN
=============================================================
Migration from 1.11 to 1.12
1. It is important to note that if PageKit runs in a perl 5.6.x environment
all internal pages are in default_output_charset. For perl 5.8.x
all these pages are in perl's own unicode format. This change should
be transparent to the user but many libraries do not support perl's
new character handling.
=============================================================
Migration from 1.10 to 1.11
view all matches for this distribution
view release on metacpan or search on metacpan
Implemented Accept header writer selection.
Improved documentation
0.03
Added special writer (bin) to handle binary responses.
Proper management of binary output of unicode values.
Added requestedFormat to Apache2::REST::Request
Implemented option Apache2RESTWriterRegistry
Implemented option Apache2RESTWriterDefault
Added example with unicode characters
0.02 09 Nov 2009
Added a link to the Google project page
0.01 06 Nov 2009
view all matches for this distribution
view release on metacpan or search on metacpan
pad_sv||5.011000|
pad_swipe|||
pad_tidy|||
pad_undef|||
parse_body|||
parse_unicode_opts|||
parser_dup|||
parser_free|||
path_is_absolute|||n
peep|||
pending_Slabs_to_ro|||
#ifndef PERL_PV_PRETTY_REGPROP
# define PERL_PV_PRETTY_REGPROP PERL_PV_PRETTY_ELLIPSES|PERL_PV_PRETTY_LTGT|PERL_PV_ESCAPE_RE
#endif
/* Hint: pv_escape
* Note that unicode functionality is only backported to
* those perl versions that support it. For older perl
* versions, the implementation will fall back to bytes.
*/
#ifndef pv_escape
view all matches for this distribution
view release on metacpan or search on metacpan
t/release-pod-syntax.t
t/release-portability.t
t/release-synopsis.t
t/release-test-version.t
t/release-unused-vars.t
t/unicode.t
view all matches for this distribution
view release on metacpan or search on metacpan
- Sends buffered messages with initial page
load (loads much faster)
- Improved iPhone stylesheet
0.11 Sat 13 Mar 2010
- Improved unicode support
- Faster shutdown process
- Make / an alias for /view
- Show context for log search result on click
0.10 Mon 22 Feb 2010
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/AltSQL.pm view on Meta::CPAN
âââââââââââ§âââââââââââââââââââ§ââââââââââââââââââââââââââââ
4 rows in set (0.00 sec)
=head1 DESCRIPTION
AltSQL is a way to improve your user experience with C<mysql>, C<sqlite3>, C<psql> and other tools that Perl has L<DBI> drivers for. Currently written for MySQL only, the long term goal of this project is to provide users of the various SQL-based da...
There are a few key issues that this programmer has had with using the mysql client every day. After looking for alternatives and other ways to fix the problems, reimplementing the client in Perl seemed like the easiest approach, and lent towards th...
=over 4
view all matches for this distribution
view release on metacpan or search on metacpan
connector grouping
cancel button in editing windows
handle unicode (remove write_file)
now arrow can match inside a box, moving an arrow around has become more tricky
=> do not connect if both ends are unconnected and arrow is being moved
move action constants to module
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/AutoCRUD.pm view on Meta::CPAN
# for example :
- dbi:SQLite:dbname=some_file
- "" # user
- "" # password
- RaiseError : 1
sqlite_unicode: 1
Create a file F<crud.psgi> like this :
use App::AutoCRUD;
use YAML qw/LoadFile/;
lib/App/AutoCRUD.pm view on Meta::CPAN
to datasources. This can be done directly in Perl, like in
the test file F<t/00_autocrud.t> :
my $connect_options = {
RaiseError => 1,
sqlite_unicode => 1,
};
my $config = {
app => {
name => "SomeName"
},
lib/App/AutoCRUD.pm view on Meta::CPAN
connect:
- "dbi:SQLite:dbname=Chinook_Sqlite_AutoIncrementPKs.sqlite"
- ""
- ""
- RaiseError: 1
sqlite_unicode: 1
tablegroups :
- name: Music
descr: Tables describing music content
node: open
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/BarnesNoble/WishListMinder.pm view on Meta::CPAN
my $fn = $self->db_file;
my $exists = $fn->exists;
my $dbh = DBI->connect("dbi:SQLite:dbname=$fn","","",
{ AutoCommit => 0, PrintError => 0, RaiseError => 1,
sqlite_unicode => 1 });
$self->create_database_schema($dbh) unless $exists;
$dbh;
} # end _build_dbh
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Basis/ConvertText2/UtfTransform.pm view on Meta::CPAN
"!" => "!",
"," => ",",
);
# mathematical bold script capital and small
# http://www.fileformat.info/info/unicode/category/Lu/list.htm
# http://www.fileformat.info/info/unicode/category/Ll/list.htm
my %script = (
"A" => "\x{1d4d0}",
"B" => "\x{1d4d1}",
"C" => "\x{1d4d2}",
lib/App/Basis/ConvertText2/UtfTransform.pm view on Meta::CPAN
"?" => "?",
"!" => "!",
"," => ",",
);
# http://www.fileformat.info/info/unicode/category/So/list.htm
my %smilies = (
'<3' => "\x{2665}", #heart
':heart:' => "\x{2665}", #heart
':)' => "\x{1f600}", #smile
':D' => "\x{1f625}", #grin
view all matches for this distribution
view release on metacpan or search on metacpan
# views/layouts/main.tt)
layout: "main"
# when the charset is set to UTF-8 Dancer will handle for you
# all the magic of encoding and decoding. You should not care
# about unicode within your app when this setting is set (recommended).
charset: "UTF-8"
# template engine
# simple: default and very basic template engine
# template_toolkit: TT
view all matches for this distribution
view release on metacpan or search on metacpan
scripts/digitdemog view on Meta::CPAN
while ( <> ) {
next if $o{1} && $seen{$_} ++ ;
chomp ;
$_ = decode_utf8 $_ unless $binFlag ;
my @blanks = m/[[:blank:]]/g ; # <-- - perldoc perlrecharclassãperlunicode ãåç
§ããã®ãè¯ããã Unicodeæåããããã£
#print "XX" if @blanks ;
$counts { $_ } ++ for @blanks ;
}
for ( sort keys %counts ) {
view all matches for this distribution