Esempio n. 1
0
/**
 * testGetCharsetName method
 *
 * @return void
 */
	public function testGetCharsetName() {
		$this->Dbo->cacheSources = $this->Dbo->testing = false;
		$result = $this->Dbo->getCharsetName('utf8_unicode_ci');
		$this->assertEquals('utf8', $result);
		$result = $this->Dbo->getCharsetName('cp1250_general_ci');
		$this->assertEquals('cp1250', $result);
	}