php-i18n Digest 11 Aug 2013 22:14:19 -0000 Issue 463

Topics (messages 1444 through 1445):

Re: Unicode support with UString abstraction layer
        1444 by: TRiG

[php-i18n] gibberish output when using the loadHTMLFile() function.
        1445 by: atar

Administrivia:

To subscribe to the digest, e-mail:
        [email protected]

To unsubscribe from the digest, e-mail:
        [email protected]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message --- I would suggest changing the terminology here. A "string" is quite simply an array of bytes, with no intrinsic meaning or encoding. This "UString" is something quite different, and giving it a similar name might cause confusion. I'd suggest calling it a "text" type.

Having distinct "string" and "text" types would aid in reminding people that strings are not, in fact, text, a fact which it can be difficult to grasp.

But perhaps that makes sense only to me.

On 31/08/12 13:20, Ferenc Kovacs wrote:
My modest proposal to provide Unicode support to PHP without the need to
>>rewrite the whole engine and its libraries introducing the UString
>>abstraction
>>layer as a regular class, an with minimal support from the core engine.
>>Basically, the UString class hides the internal implementation of the
>>Unicode
>>strings and allows to experiment with several solutions (UTF-8, UCS-2,
>>UCS-4,
>>...).


--- End Message ---
--- Begin Message ---
Hi there!!

When I'm trying to load an external html document with the loadHTMLFile()
function and then I use the saveHTML() function to output its content,
some text in the external html document which is written in hebrew is
displayed in a gibberish format. is anyone here has an idea how to solve
this problem?

NOTE: the document itself is encoded in utf-8 character set.

Thanks in advance!!

atar.

--- End Message ---

Reply via email to