Home
last modified time | relevance | path

Searched refs:encoding (Results 1 – 25 of 339) sorted by relevance

12345678910>>...14

/plugin/combo/vendor/symfony/polyfill-mbstring/
H A DMbstring.php141 public static function mb_decode_numericentity($s, $convmap, $encoding = null) argument
153 if (null !== $encoding && !\is_scalar($encoding)) {
164 $encoding = self::getEncoding($encoding);
166 if ('UTF-8' === $encoding) {
167 $encoding = null;
172 $s = iconv($encoding, 'UTF-8//IGNORE', $s);
194 if (null === $encoding) {
198 return iconv('UTF-8', $encoding.'//IGNORE', $s);
201 public static function mb_encode_numericentity($s, $convmap, $encoding = null, $is_hex = false) argument
213 if (null !== $encoding && !\is_scalar($encoding)) {
[all …]
H A Dbootstrap.php28 …de_numericentity($string, $map, $encoding = null) { return p\Mbstring::mb_decode_numericentity($st… argument
31 …ricentity($string, $map, $encoding = null, $hex = false) { return p\Mbstring::mb_encode_numericent… argument
34 …ion mb_convert_case($string, $mode, $encoding = null) { return p\Mbstring::mb_convert_case($string… argument
37 …function mb_internal_encoding($encoding = null) { return p\Mbstring::mb_internal_encoding($encodin… argument
46 function mb_encoding_aliases($encoding) { return p\Mbstring::mb_encoding_aliases($encoding); } argument
49 …ction mb_check_encoding($value = null, $encoding = null) { return p\Mbstring::mb_check_encoding($v… argument
55 function mb_detect_order($encoding = null) { return p\Mbstring::mb_detect_order($encoding); } argument
61 …function mb_strlen($string, $encoding = null) { return p\Mbstring::mb_strlen($string, $encoding); } argument
64 …haystack, $needle, $offset = 0, $encoding = null) { return p\Mbstring::mb_strpos($haystack, $needl… argument
67 …function mb_strtolower($string, $encoding = null) { return p\Mbstring::mb_strtolower($string, $enc… argument
[all …]
H A Dbootstrap80.php24 …ng, array $map, ?string $encoding = null): string { return p\Mbstring::mb_decode_numericentity((st… argument
27 …$map, ?string $encoding = null, ?bool $hex = false): string { return p\Mbstring::mb_encode_numeric… argument
30 …ng, ?int $mode, ?string $encoding = null): string { return p\Mbstring::mb_convert_case((string) $s… argument
33 …ction mb_internal_encoding(?string $encoding = null): string|bool { return p\Mbstring::mb_internal… argument
42 …function mb_encoding_aliases(?string $encoding): array { return p\Mbstring::mb_encoding_aliases((s… argument
45 …|string|null $value = null, ?string $encoding = null): bool { return p\Mbstring::mb_check_encoding… argument
51 …ion mb_detect_order(array|string|null $encoding = null): array|bool { return p\Mbstring::mb_detect… argument
57 …mb_strlen(?string $string, ?string $encoding = null): int { return p\Mbstring::mb_strlen((string) … argument
60 …t = 0, ?string $encoding = null): int|false { return p\Mbstring::mb_strpos((string) $haystack, (st… argument
63 …olower(?string $string, ?string $encoding = null): string { return p\Mbstring::mb_strtolower((stri… argument
[all …]
/plugin/html2pdf/html2pdf/html2ps/
Dfont.resolver.class.php37 function font_resolved($family, $weight, $style, $encoding) { argument
42 isset($this->ps_fonts[$family][$weight][$style][$encoding]);
51 function resolve_font($family, $weight, $style, $encoding) { argument
52 if (!$this->font_resolved($family, $weight, $style, $encoding)) {
53 $this->ps_fonts[$family][$weight][$style][$encoding] = 'font'.$this->ps_fonts_counter;
56 return $this->ps_fonts[$family][$weight][$style][$encoding];
59 function add_family_normal_encoding_override($family, $encoding, $normal, $italic, $oblique) { argument
60 $this->overrides[$encoding][$family][WEIGHT_NORMAL][FS_NORMAL] = $normal;
61 $this->overrides[$encoding][$family][WEIGHT_NORMAL][FS_ITALIC] = $italic;
62 $this->overrides[$encoding][$family][WEIGHT_NORMAL][FS_OBLIQUE] = $oblique;
[all …]
Dconverter.class.php15 function to_utf8($string, $encoding) { argument
16 return iconv(strtoupper($encoding), "UTF-8", $string);
21 function apply_aliases($encoding) { argument
24 if (isset($g_encoding_aliases[$encoding])) {
25 return $g_encoding_aliases[$encoding];
28 return $encoding;
31 function to_utf8($html, $encoding) { argument
34 $encoding = $this->apply_aliases($encoding);
36 if ($encoding === 'iso-8859-1') {
38 } elseif ($encoding === 'utf-8') {
[all …]
Dmanager.encoding.php83 foreach (array_keys($g_utf8_converters) as $encoding) {
84 $flipped = array_flip($g_utf8_converters[$encoding][0]);
86 $this->_utf8_mapping[code_to_utf8($utf)][$encoding] = $code;
100 function get_canonized_encoding_name($encoding) { argument
103 if (isset($g_encoding_aliases[$encoding])) {
104 return $g_encoding_aliases[$encoding];
107 return $encoding;
123 function get_encoding_glyphs($encoding) { argument
124 $vector = $this->get_encoding_vector($encoding);
126 error_log(sprintf("Cannot get encoding vector for encoding '%s'", $encoding));
[all …]
Dfilter.data.encoding.class.php3 function DataFilterEncoding($encoding) { argument
4 $this->encoding = $encoding;
8 return $this->encoding;
15 if (empty($this->encoding)) {
16 $encoding = $data->detect_encoding();
18 if (is_null($encoding)) {
19 $encoding = DEFAULT_ENCODING;
22 $data->set_content($converter->to_utf8($data->get_content(), $encoding));
25 $data->set_content($converter->to_utf8($data->get_content(), $this->encoding));
31 function _convert(&$data, $encoding) { argument
Dfont_factory.class.php28 function &getTrueType($typeface, $encoding) { argument
29 if (!isset($this->fonts[$typeface][$encoding])) {
33 $font = FontTrueType::create($fontfile, $encoding);
39 $this->fonts[$typeface][$encoding] = $font;
42 return $this->fonts[$typeface][$encoding];
45 function &get_type1($name, $encoding) { argument
46 if (!isset($this->fonts[$name][$encoding])) {
49 $font =& FontType1::create($name, $encoding, $g_font_resolver, $this->error_message);
55 $this->fonts[$name][$encoding] = $font;
58 return $this->fonts[$name][$encoding];
Dfetched_data.url.class.php10 $encoding = $this->_detect_encoding_using_meta($this->content);
14 if (is_null($encoding)) {
17 $encoding = strtolower($matches[1]);
24 if (is_null($encoding)) { $encoding = "iso-8859-1"; }
26 return $encoding;
Doutput.pdflib.class.php28 function encoding($encoding) { function in OutputDriverPdflib
29 $encoding = trim(strtolower($encoding));
50 if (isset($translations[$encoding])) { return $translations[$encoding]; };
51 return $encoding;
103 function findfont($name, $encoding) { argument
106 $encoding = 'builtin';
111 return pdf_findfont($this->pdf, $name, $this->encoding($encoding), $embed);
114 function font_ascender($name, $encoding) { argument
115 return pdf_get_value($this->pdf, "ascender", $this->findfont($name, $encoding));
118 function font_descender($name, $encoding) { argument
[all …]
/plugin/authgooglesheets/vendor/symfony/polyfill-php72/
Dbootstrap.php50 function mb_ord($string, $encoding = null) { return p\Php72::mb_ord($string, $encoding); } argument
53 function mb_chr($codepoint, $encoding = null) { return p\Php72::mb_chr($codepoint, $encoding); } argument
56 …g, $encoding = null) { $encoding = null === $encoding ? mb_internal_encoding() : $encoding; return… argument
/plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/
DEncoder.php380 $encoding = $config->get('Core.Encoding');
381 if ($encoding === 'utf-8') {
390 $str = self::unsafeIconv($encoding, 'utf-8//IGNORE', $str);
393 trigger_error('Invalid encoding ' . $encoding, E_USER_ERROR);
399 $str = strtr($str, self::testEncodingSupportsASCII($encoding));
401 } elseif ($encoding === 'iso-8859-1' && function_exists('mb_convert_encoding')) {
453 } elseif ($encoding === 'iso-8859-1' && function_exists('mb_convert_encoding')) {
566 * @param string $encoding Encoding name to test, as per iconv format
571 public static function testEncodingSupportsASCII($encoding, $bypass = false) argument
580 if (isset($encodings[$encoding])) {
[all …]
/plugin/authgooglesheets/vendor/google/apiclient-services/src/CloudDataplex/
DGoogleCloudDataplexV1StorageFormatJsonOptions.php25 public $encoding; variable in Google\\Service\\CloudDataplex\\GoogleCloudDataplexV1StorageFormatJsonOptions
30 public function setEncoding($encoding) argument
32 $this->encoding = $encoding;
39 return $this->encoding;
DGoogleCloudDataplexV1AssetDiscoverySpecJsonOptions.php29 public $encoding; variable in Google\\Service\\CloudDataplex\\GoogleCloudDataplexV1AssetDiscoverySpecJsonOptions
48 public function setEncoding($encoding) argument
50 $this->encoding = $encoding;
57 return $this->encoding;
DGoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions.php29 public $encoding; variable in Google\\Service\\CloudDataplex\\GoogleCloudDataplexV1ZoneDiscoverySpecJsonOptions
48 public function setEncoding($encoding) argument
50 $this->encoding = $encoding;
57 return $this->encoding;
DGoogleCloudDataplexV1AssetDiscoverySpecCsvOptions.php33 public $encoding; variable in Google\\Service\\CloudDataplex\\GoogleCloudDataplexV1AssetDiscoverySpecCsvOptions
70 public function setEncoding($encoding) argument
72 $this->encoding = $encoding;
79 return $this->encoding;
DGoogleCloudDataplexV1StorageFormatCsvOptions.php29 public $encoding; variable in Google\\Service\\CloudDataplex\\GoogleCloudDataplexV1StorageFormatCsvOptions
56 public function setEncoding($encoding) argument
58 $this->encoding = $encoding;
65 return $this->encoding;
DGoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions.php33 public $encoding; variable in Google\\Service\\CloudDataplex\\GoogleCloudDataplexV1ZoneDiscoverySpecCsvOptions
70 public function setEncoding($encoding) argument
72 $this->encoding = $encoding;
79 return $this->encoding;
/plugin/asciidocjs/node_modules/unxhr/lib/
Drequest.js5 const { ssl, encoding, requestOptions } = options
14 if (encoding !== 'binary') {
15 response.setEncoding(encoding)
18 if (encoding === 'binary') {
29 if (encoding === 'binary') {
51 const encoding = 'utf-8' constant
60 options.encoding = arg.slice('--encoding='.length)
68 data = Buffer.from(process.argv[2] || '', encoding)
77 process.stdin.setEncoding(encoding)
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Pubsub/
DSchemaSettings.php25 public $encoding; variable in Google\\Service\\Pubsub\\SchemaSettings
34 public function setEncoding($encoding) argument
36 $this->encoding = $encoding;
43 return $this->encoding;
DValidateMessageRequest.php25 public $encoding; variable in Google\\Service\\Pubsub\\ValidateMessageRequest
40 public function setEncoding($encoding) argument
42 $this->encoding = $encoding;
49 return $this->encoding;
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Filter/
DPackerFilter.php26 protected $encoding = 'None'; variable in Assetic\\Filter\\PackerFilter
32 public function setEncoding($encoding) argument
34 $this->encoding = $encoding;
53 …$packer = new \JavaScriptPacker($asset->getContent(), $this->encoding, $this->fastDecode, $this->s…
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Bigquery/
DBigtableColumnFamily.php28 public $encoding; variable in Google\\Service\\Bigquery\\BigtableColumnFamily
59 public function setEncoding($encoding) argument
61 $this->encoding = $encoding;
68 return $this->encoding;
DBigtableColumn.php25 public $encoding; variable in Google\\Service\\Bigquery\\BigtableColumn
50 public function setEncoding($encoding) argument
52 $this->encoding = $encoding;
59 return $this->encoding;
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/
DNativeMailerHandler.php65 protected $encoding = 'utf-8'; variable in Monolog\\Handler\\NativeMailerHandler
147 return $this->encoding;
164 public function setEncoding(string $encoding): self argument
166 if (strpos($encoding, "\n") !== false || strpos($encoding, "\r") !== false) {
170 $this->encoding = $encoding;

12345678910>>...14