Lines Matching refs:encoding
95 …* @param string $encoding Convert from UTF-8 to other…
105 string $encoding, argument
115 …$resource = $this->export($tree, $sort_by_xref, $encoding, $access_level, $line_endings, $records);
139 …$resource = $this->export($tree, $sort_by_xref, $encoding, $access_level, $line_endings, $records,…
164 …* @param string $encoding Convert from UTF-8 to oth…
176 string $encoding = UTF8::NAME, argument
189 …ngFilter::class, STREAM_FILTER_WRITE, ['src_encoding' => UTF8::NAME, 'dst_encoding' => $encoding]);
194 new Collection([$this->createHeader($tree, $encoding, false)]),
201 new Collection([$this->createHeader($tree, $encoding, true)]),
214 new Collection([$this->createHeader($tree, $encoding, true)]),
278 public function createHeader(Tree $tree, string $encoding, bool $include_sub): string argument
293 $encoding = $gedcom_encodings[$encoding] ?? $encoding;
304 $gedcom .= "\n1 CHAR " . $encoding;