Re: unsing utf

Christian Stocker <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general
Organization Bitflux GmbH
Message-ID <[email protected]>

On 7.9.2005 12:04 Uhr, qMax wrote:
> Wednesday, September 7, 2005, 2:23:54 PM, Christian Stocker wrote:
> CS> The output in result html is already utf-8 encoded with character
> CS> entities, as far as i can see.
> Nope, as in version 1.2.0,

I highly recommend using 1.3-dev (aka trunk). It's much much better than
1.2, especially the admin interface and quite stable. We don't plan to
add groundbreaking now stuff here in the near future, and if we do, we
will branch it off. Having saidd that, this shouldn't affect the unicode
stuff since that didn't change

> all nonlatin characters in output get encoded with 2bytes unicode
> codes.
> I changed alol xslt stylesheets to have <xsl:output encoding="utf-8">
> Page is declared to be in utf-8, but actually it is latin-1 with
> unicode char entities.

It works for me with a default installation on freeflux: see

http://foobar.freeflux.net/

I have no entities in the source code there.

Does your php some automatic output-conversion? (no idea, if that's
possible at all, maybe with the mbstring extension).

HTH

chregu
> 
>>>Where should i hack ?
> 
> 
> 
> CS> inc/bx/plugins/xhtml.php the handlePOST() method line 167 where we do
> CS> utf2entities(). If you remove that, it shouldn't translate
> CS> utf8-characters to entities anymore. No idea, if that causes some errors
> CS> on other places, but in theory it shouldn't.
> This helped. thanks.
> 

-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60  | fax +41 1 240 56 71
http://www.bitflux.ch | [email protected] |  GPG 0x5CE1DECB
-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.