Hans,
BoltWire is set to run on UTF-8 by default, and to be honest, I never
even considered trying to set up an option for ISO-8859-1. Didn't
think it would be needed. Actually I still struggle with
understanding charsets and getting everything to work right. UTF is
coming along and I think it's the best way to go. If however you want
a config option for ISO-8859-1, I'll be happy to look and see if I can
find where the problem is. My guess is it is line ~202 in markups.php,
which will just need a switch. Currently it is set to this:
return BOLTescape("<form accept-charset='utf-8' $n$u$a><input
type='hidden' name='boltkey' value='$key' />");
If you care to test it, try deleting or changing the accept-charset
parameter in the line above. If it fixes things, let me know and I'll
put a configuration option in.
Cheers,
Dan
On Sat, Feb 21, 2009 at 7:13 AM, Hans <[email protected]> wrote:
>
> http://www.boltwire.com/index.php?p=test.ascii_character_test
>
> testing special charcters: (c)
>
> first I added the code: & # 1 6 9 ;
> saved page. copyright symbol shows, which was expected.
>
> then I edit page again: copyright symbol appears in edit textarea,
> which is not expected. It should just show the number code of the
> character, as entered first.
>
> Now save page with changes to text (not to copyright character).
>
> Effect: here on this site copyright symbol stays. On my local machine
> the symbol gets prefixed with some higher ASCII character. And every
> page edit adds another one.
>
> I found I can cure this adding of characters by changing a skin
> metatag to content="text/html; charset=utf-8" instead of
> content="text/html; charset=iso-8859-1"
>
> Still, why can the edit box not show the character code?
>
> And: does BW not support content="text/html; charset=iso-8859-1" but
> needs utf-8?
>
> Thanks,
> ~Hans
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---