> take for example the BOLTutf8_strip function. if i open the file
> regardless of the encoding i have it full of greek characters (my
> locale), while if i open it with Wester Euroepan encoding it shows
> correctly.
> maybe it should be encoded in UTF?
I think you are right. The BOLTutf8_strip function with its character
conversion array is the root cause of display problems in text
editors, because the file is encoded in ANSI. It should be encoded in
UTF-8. I tried UNICODE, but it does not work, whereas saving the file
as UTF-8 in one texteditor made it possible to open and correctly
display the Latin letters with diacritics in my problematic text
editor as well.
Dan, you could also consider moving that function to markups.php (and
still saving the file with UTF-8 encoding). Actually the function does
not strip utf-8, it just converts Latin characters with diacritics to
Latin characters without diacritics, it converts characters from range
128 to 256 of the unicode set to characters below 128 (basic ascii
characters).
It is most useful for west european languages, which use a lot of
diacritics, to convert page name input to the basic ascii character
set.
~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
-~----------~----~----~----~------~----~------~--~---