# This will replace anything that can't be described in Latin-1 with
# an ugly question mark (?) so don't use this mode on languages that
# aren't suited to it!
-#
+
+# This file and LanguageUtf8.php may be included from within functions, so
+# we need to have global statements
+global $wgInputEncoding, $wgOutputEncoding;
$wgInputEncoding = "ISO-8859-1";
$wgOutputEncoding = "ISO-8859-1";
# include any non-ASCII chars. (?)
return $this->lang->listToText( $l );
}
+
+ function truncate( $string, $length, $ellipsis = "" ) {
+ return Language::truncate( $string, $length, $ellipsis );
+ }
+
+ function convertGrammar( $word, $case ) {
+ return $word;
+ }
+
+ function getPreferredVariant() {
+ return $this->lang->getPreferredVariant();
+ }
+
+ function segmentForDiff( $text ) {
+ return $text;
+ }
+
+ function unsegmentForDiff( $text ) {
+ return $text;
+ }
+
+ function convert( $text, $isTitle=false ) {
+ return utf8_decode( $this->lang->convert( utf8_encode( $text ), $isTitle ) );
+ }
+
+ function getVariantname( $code ) {
+ return utf8_decode( $this->lang->getVariantname( $code ) );
+ }
+
+ function getVariants() {
+ return $this->lang->getVariants();
+ }
+
+ function convertForSearchResult( $termsArray ) {
+ return $termsArray;
+ }
+
+ function getExtraHashOptions() {
+ return '';
+ }
+
+ function linkTrail() {
+ return $this->lang->linkTrail();
+ }
+
+ function getLangObj() {
+ return $this->lang;
+ }
}
?>