view release on metacpan or search on metacpan
lib/BBS/DiscuzX2.pm view on Meta::CPAN
my $bbs = BBS::DiscuzX2->new();
#åå§ååå°æ°æ®åºè¿æ¥
#dp_port / db_charset ä¹å¯ä¸å¡«
$bbs->init_db_handler(
db_host => 'xxx.xxx.xxx.xxx',
lib/BBS/DiscuzX2.pm view on Meta::CPAN
db_passwd => 'xxx',
db_name => 'xxx',
db_charset => 'utf8',
);
=over
=back
lib/BBS/DiscuzX2.pm view on Meta::CPAN
my $dsn = "DBI:mysql:host=$db_opt{db_host};port=$db_opt{db_port};database=$db_opt{db_name}";
$self->{db_handler} = BBS::DiscuzX2::DB->new(
connect_info => [ $dsn, $db_opt{db_user}, $db_opt{db_passwd} ]
);
if($db_opt{db_charset}){
$self->{db_handler}->do("SET character_set_client='$db_opt{db_charset}'");
$self->{db_handler}->do("SET character_set_connection='$db_opt{db_charset}'");
$self->{db_handler}->do("SET character_set_results='$db_opt{db_charset}'");
}
for my $k (qw/default_passwd default_group_id/){
next unless(exists $db_opt{$k});
$self->{db_handler}{$k} = $db_opt{$k};
view all matches for this distribution
view release on metacpan or search on metacpan
config.h.in view on Meta::CPAN
#undef HAVE_LCHOWN
/* Define to 1 if you have the `acl' library (-lacl). */
#undef HAVE_LIBACL
/* Define to 1 if you have the <libcharset.h> header file. */
#undef HAVE_LIBCHARSET_H
/* Define to 1 if you have the `inet' library (-linet). */
#undef HAVE_LIBINET
config.h.in view on Meta::CPAN
#undef HAVE_LINK
/* True if you have Linux xattrs */
#undef HAVE_LINUX_XATTRS
/* Define to 1 if you have the `locale_charset' function. */
#undef HAVE_LOCALE_CHARSET
/* Define to 1 if you have the <locale.h> header file. */
#undef HAVE_LOCALE_H
config.h.in view on Meta::CPAN
#undef TIME_WITH_SYS_TIME
/* Define to 1 if you want rsync to make use of iconv_open() */
#undef USE_ICONV_OPEN
/* String to pass to iconv() for the UTF-8 charset. */
#undef UTF8_CHARSET
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Badger/Codec/HTML.pm view on Meta::CPAN
'ISO-8859-1' => \&fix_windows,
'WINDOWS-1252' => \&fix_windows,
};
sub encode {
my ($class, $html, $charset) = @_;
my $filter;
return undef unless defined($html);
for ($html) {
lib/Badger/Codec/HTML.pm view on Meta::CPAN
s/</</g;
}
# pass resulting HTML through any corresponding filter for the
# character set (if specified)
if ($charset && ($filter = $CHARSET->{ $charset })) {
$html = &$filter($html);
}
return $html;
}
lib/Badger/Codec/HTML.pm view on Meta::CPAN
The L<decode()> method reverses this process.
=head1 METHODS
=head2 encode($html, $charset)
Encodes the HTML text passed as the first argument.
$encoded = Badger::Codec::HTML->encode($html);
view all matches for this distribution
view release on metacpan or search on metacpan
t/soap-connect-lwp.t view on Meta::CPAN
is ( exception {
$response = $userAgent
->request(HTTP::Request::Common::POST( $connection->url,
Authorization => $connection->_authoriz,
Content_Type => 'text/xml;charset=UTF-8',
Content => $message))
} => undef, "uploadMultimediaContent request post - lives");
ok($response->is_success, 'response is succcess');
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Beagle/Cmd/Command/spread.pm view on Meta::CPAN
if ( $entry->format ne 'plain' ) {
$mime->make_multipart;
$mime->attach(
Data => $entry->body_html,
'Content-Type' => 'text/html; charset=utf-8',
);
}
my $atts = $bh->attachments_map->{$id};
if ($atts) {
view all matches for this distribution
view release on metacpan or search on metacpan
Media/beamer-reveal-PCB.html view on Meta::CPAN
<html lang="">
<head>
<title>PCB</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="user-scalable=no"/>
<style>
body {margin: 0;}
</style>
view all matches for this distribution
view release on metacpan or search on metacpan
examples/chat/chat.html view on Meta::CPAN
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<script language="Javascript" type="text/javascript" defer src="https://cdnjs.cloudflare.com/ajax/libs/mqtt/4.3.7/mqtt.min.js"></script>
<script language="Javascript" type="text/javascript" defer src="https://cdnjs.cloudflare.com/ajax/libs/pako/2.1.0/pako_inflate.min.js"></script>
<script language="Javascript" type="text/javascript" defer src="js/config.js"></script>
<script language="Javascript" type="text/javascript" defer src="js/beekeeper.js"></script>
<script language="Javascript" type="text/javascript" defer src="js/chat.js"></script>
view all matches for this distribution
view release on metacpan or search on metacpan
data/wiki0.html view on Meta::CPAN
<!DOCTYPE html>
<html class="client-nojs" lang="en" dir="ltr">
<head>
<meta charset="UTF-8"/>
<title>Wikipedia, the free encyclopedia</title>
<script>document.documentElement.className="client-js";RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June",...
"tags":{"status":{"levels":-1}}},"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":10,"wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"se...
"ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.wikimediaBadges":"ready","ext.uls.interlanguage":"ready"};RLPAGEMODULES=["mediawiki.page.gallery","site","mediawiki.page.ready","skins.vector.legacy.js","ext.gadget.ReferenceTooltips","ext...
<script>(RLQ=window.RLQ||[]).push(function(){mw.loader.implement("user.options@1hzgi",function($,jQuery,require,module){/*@nomin*/mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"});
view all matches for this distribution
view release on metacpan or search on metacpan
share/templates/google-chart-area.tt view on Meta::CPAN
<html encoding="utf-8">
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<head>
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
// https://google-developers.appspot.com/chart/interactive/docs/gallery/areachart
view all matches for this distribution
view release on metacpan or search on metacpan
share/P6STD/std_hilite/STD_syntax_highlight view on Meta::CPAN
<head>
<title>$file</title>
<!--
Generated by $PROGRAM_NAME at $timestamp
-->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
$css
$jquery_js
$js
</head>
<body>
view all matches for this distribution