PHP Classes

File: Web/application/config/foreign_chars.php

Recommend this page to a friend!
  Classes of Burge Lab   Burge CMF   Web/application/config/foreign_chars.php   Download  
File: Web/application/config/foreign_chars.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Burge CMF
Framework to publish managed content
Author: By
Last change:
Date: 8 years ago
Size: 1,781 bytes
 

Contents

Class file image Download
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| Foreign Characters
| -------------------------------------------------------------------
| This file contains an array of foreign characters for transliteration
| conversion used by the Text helper
|
*/
$foreign_characters = array(
   
'/ä|æ|?/' => 'ae',
   
'/ö|?/' => 'oe',
   
'/ü/' => 'ue',
   
'/Ä/' => 'Ae',
   
'/Ü/' => 'Ue',
   
'/Ö/' => 'Oe',
   
'/À|Á|Â|Ã|Ä|Å|?|?|?|?|?/' => 'A',
   
'/à|á|â|ã|å|?|?|?|?|?|ª/' => 'a',
   
'/Ç|?|?|?|?/' => 'C',
   
'/ç|?|?|?|?/' => 'c',
   
'/Ð|?|?/' => 'D',
   
'/ð|?|?/' => 'd',
   
'/È|É|Ê|Ë|?|?|?|?|?/' => 'E',
   
'/è|é|ê|ë|?|?|?|?|?/' => 'e',
   
'/?|?|?|?/' => 'G',
   
'/?|?|?|?/' => 'g',
   
'/?|?/' => 'H',
   
'/?|?/' => 'h',
   
'/Ì|Í|Î|Ï|?|?|?|?|?|?/' => 'I',
   
'/ì|í|î|ï|?|?|?|?|?|?/' => 'i',
   
'/?/' => 'J',
   
'/?/' => 'j',
   
'/?/' => 'K',
   
'/?/' => 'k',
   
'/?|?|?|?|?/' => 'L',
   
'/?|?|?|?|?/' => 'l',
   
'/Ñ|?|?|?/' => 'N',
   
'/ñ|?|?|?|?/' => 'n',
   
'/Ò|Ó|Ô|Õ|?|?|?|?|?|Ø|?/' => 'O',
   
'/ò|ó|ô|õ|?|?|?|?|?|ø|?|º/' => 'o',
   
'/?|?|?/' => 'R',
   
'/?|?|?/' => 'r',
   
'/?|?|?|?/' => 'S',
   
'/?|?|?|?|?/' => 's',
   
'/?|?|?/' => 'T',
   
'/?|?|?/' => 't',
   
'/Ù|Ú|Û|?|?|?|?|?|?|?|?|?|?|?|?/' => 'U',
   
'/ù|ú|û|?|?|?|?|?|?|?|?|?|?|?|?/' => 'u',
   
'/Ý|?|?/' => 'Y',
   
'/ý|ÿ|?/' => 'y',
   
'/?/' => 'W',
   
'/?/' => 'w',
   
'/?|?|?/' => 'Z',
   
'/?|?|?/' => 'z',
   
'/Æ|?/' => 'AE',
   
'/ß/'=> 'ss',
   
'/?/' => 'IJ',
   
'/?/' => 'ij',
   
'/?/' => 'OE',
   
'/?/' => 'f'
);

/* End of file foreign_chars.php */
/* Location: ./application/config/foreign_chars.php */