You are here

private static function PHPExcel_Reader_Excel5::_encodeUTF16 in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel5.php \PHPExcel_Reader_Excel5::_encodeUTF16()

* Get UTF-8 string from (compressed or uncompressed) UTF-16 string * *

Parameters

string $string: * @param bool $compressed * @return string

3 calls to PHPExcel_Reader_Excel5::_encodeUTF16()
PHPExcel_Reader_Excel5::_readHyperLink in vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel5.php
* Read HYPERLINK record
PHPExcel_Reader_Excel5::_readSst in vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel5.php
* SST - Shared String Table * * This record contains a list of all strings used anywhere * in the workbook. Each string occurs only once. The * workbook uses indexes into the list to reference the * strings. * *…
PHPExcel_Reader_Excel5::_readUnicodeString in vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel5.php
* Read Unicode string with no string length field, but with known character count * this function is under construction, needs to support rich text, and Asian phonetic settings * OpenOffice.org's Documentation of the Microsoft Excel File…

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel5.php, line 6727

Class

PHPExcel_Reader_Excel5
PHPExcel_Reader_Excel5

Code

private static function _encodeUTF16($string, $compressed = '') {
  if ($compressed) {
    $string = self::_uncompressByteString($string);
  }
  return PHPExcel_Shared_String::ConvertEncoding($string, 'UTF-8', 'UTF-16LE');
}