Re: unsing utf

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

On 7.9.2005 11:04 Uhr, qMax wrote:
> Hi.
> 
> Issues with utf was discussed here many times. but i could not find
> any solution.
> 
> I care about displaying utf in oneform editor, and utf output in result html,
> instead of HTML character entities.

The only problem IMHO is the oneform editor, which displays the numeric
entities. You can easily insert UTF-8 characters there (just tested it),
but if you reload the oneform editor, you only see character entities.
Not nice, but somehow fixable.

The output in result html is already utf-8 encoded with character
entities, as far as i can see.

> Where should i hack ?

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

chregu

> 

-- 
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.