Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-06-26 14:39:58

quinceginger
Member
From: Romania
Registered: 2006-08-21
Posts: 29

problem with romanian characters in IE6

Hello community,

I am preparing to show to the world my first txp website (in romanian and english). I have one stubborn problem: The site looks as it should when browsed with Firefox, Opera and IE7.
IE6, however, behaves badly: only in the case of two article texts and of four texts written directly in the forms and pages it doesn’t display the romanian characters correctly: it puts squares instead. Puzzling…why doesn’t it do it with those characters all through the site?

Could someone help based only on this info?

Many thanks!

Offline

#2 2007-06-26 17:09:05

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: problem with romanian characters in IE6

Can you post your diagnostics, please. And a link to the site in question if possible.

Last edited by Sencer (2007-06-26 17:09:19)

Offline

#3 2007-06-26 17:42:19

quinceginger
Member
From: Romania
Registered: 2006-08-21
Posts: 29

Re: problem with romanian characters in IE6

Sure,

the address is : www.misesromania.net (I have only partially unprotected it; it is the owner’s wish to keep it as private as possible until ready to launch)

Please note that I keep the language option set to romanian.

Here are the detailed diagnostics:

————-

Textpattern version: 4.0.4 (r1956)
Last Update: 2006-09-18 18:32:00/2007-06-23 16:48:28
Document root: /home/misesrom/public_html
$path_to_site: /home/misesrom/public_html
Textpattern path: /home/misesrom/public_html/textpattern
Permanent link mode: id_title
open_basedir: /home/misesrom:/usr/lib/php:/usr/local/lib/php:/tmp
Temporary directory path: /home/misesrom/public_html/temp
Site URL: misesromania.net
PHP version: 5.1.6
Server Local Time: 2007-06-26 13:29:27
MySQL: 4.1.21-standard-log
Locale: en_GB.UTF-8
Server: Apache/1.3.37 (Unix) PHP/5.1.6 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a
Apache version: Apache/1.3.37 (Unix) PHP/5.1.6 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a
PHP Server API: apache
RFC 2616 headers:
Server OS: Linux 2.6.9-42.0.10.ELsmp
Active plugins: ako_nav-0.9.1, zem_contact_lang-4.0.3.02, zem_contact_reborn-4.0.3.16, zem_redirect-1.2, rss_article_edit-0.1, rss_admin_db_manager-4.3

.htaccess file contents:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/

<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]

RewriteRule ^(.*) index.php </IfModule>

#php_value register_globals 0

————————————

Charset (default/config): latin1/utf8
character_set_client: utf8
character_set_connection: utf8
character_set_database: utf8
character_set_results: utf8
character_set_server: latin1
character_set_system: utf8
character_sets_dir: /usr/share/mysql/charsets/
18 Tables: OK

PHP extensions: xmlwriter/0.1, libxml, xmlrpc/0.51, dom/20031129, xmlreader/0.1, xml, tokenizer/0.1, standard/5.1.6, SimpleXML, SPL, session, sockets, PDO, SQLite, Reflection, posix, mysqli/0.1, mysql/1.0, mhash, mcrypt, mbstring, imap, iconv, hash/1.0, gettext, gd, ftp, date/5.1.6, curl, ctype, calendar, bcmath, zlib/1.1, pcre, apache, Zend Optimizer

Apache modules: http_core, mod_env, mod_log_config, mod_mime, mod_negotiation, mod_status, mod_include, mod_autoindex, mod_dir, mod_cgi, mod_asis, mod_imap, mod_actions, mod_userdir, mod_alias, mod_access, mod_auth, mod_so, mod_setenvif, mod_ssl, mod_frontpage, mod_rewrite, mod_expires, mod_bwlimited, mod_log_bytes, mod_auth_passthrough, mod_php5

pretext_data: array ( ‘id’ => ‘’, ‘s’ => ‘’, ‘c’ => ‘’, ‘q’ => ‘’, ‘pg’ => ‘’, ‘p’ => ‘’, ‘month’ => ‘’, ‘author’ => ‘’, ‘request_uri’ => ‘/881c995ef04fc9025ebfdc28de464c5b/?txpcleantest=1’, ‘qs’ => ‘txpcleantest=1’, ‘subpath’ => ‘\\/’, ‘req’ => ‘/881c995ef04fc9025ebfdc28de464c5b/?txpcleantest=1’,
)

/include/txp_category.php: r1879 (aee777474b2f67ca07fc25756ba25c15)
/include/txp_plugin.php: r1917 (74184c0d8ed8608f840707a255178617)
/include/txp_auth.php: r1879 (b1dd4072b7daf4e997c6ff65ce3d1b2d)
/include/txp_form.php: r1913 (16ec600b41438b4cca10d2c8a19b2db8)
/include/txp_section.php: r1891 (2959593586ba3e97bc602f369c32e738)
/include/txp_tag.php: r1915 (3b4a7f73d92f9bbbe09985c5aa830d29)
/include/txp_list.php: r1892 (41f4d32fd070234b78f94adefebd5234)
/include/txp_page.php: r1913 (34331a5468bbb18dd9f6a282f3aa11e8)
/include/txp_discuss.php: r1909 (9b9ee934a30f52cd7a4d8cb45c8380ab)
/include/txp_prefs.php: r1946 (05615b6275d8927a2a0d51918d70a896)
/include/txp_log.php: r1919 (ed54d02e865319f2506c642a6bde768b)
/include/txp_preview.php: r1238 (5a4ae3ff0d68f4cb573d6d62a00ce9e8)
/include/txp_image.php: r1955 (20be975e67fa7c4aa9a1a3e51bfaf379)
/include/txp_article.php: r1889 (7749f699c03d0c57e04fafe17dbfa94c)
/include/txp_css.php: r1897 (f5cf1c20badb96a063c7c180e9020359)
/include/txp_admin.php: r1879 (d36dac010d21df7bcf9cf5e242b34d58)
/include/txp_link.php: r1879 (0652287df8bb32c66cfa1b939402404a)
/include/txp_diag.php: r1902 (96697ade63048e517177f4129d47de76)
/include/txp_file.php: r1895 (6ed67b094522e51b028dc88baa07444c)
/include/txp_import.php: r1238 (634e75d1b61958875ff275e3130f23ad)
/lib/admin_config.php: r1747 (1563fcbaffe25b3272b0d85ff9d5571d)
/lib/txplib_misc.php: r1956 (182c50b86195f1abe9dbe15728df3cae)
/lib/taglib.php: r1535 (04806ef864d5b0d2974e0e5f6397a2d7)
/lib/txplib_head.php: r1887 (b110efd071e9a5bb395beea66ced128a)
/lib/classTextile.php: r1943 (2c559991e34738eef1990dc079bd91c4)
/lib/txplib_html.php: r1937 (c206ca9cb9a54a7a95f3355b77fd0fa2)
/lib/txplib_db.php: r1879 (d68b6ea69950e405c4fec23b8641d9c2)
/lib/IXRClass.php: r765 (cbe59b59246dce060a4b4a52b4d448d8)
/lib/txplib_forms.php: r1887 (0049a228dc8eb346f8603478a7c1b2e2)
/lib/class.thumb.php: r1955 (12961180eee3add5096e69e0a154284e)
/lib/constants.php: unknown (0e40251c717c52b2b7fe992b62a3e97a)
/lib/txplib_update.php: r1239 (757f8189fcc53a795d7c807f17b2e788)
/lib/txplib_wrapper.php: unknown (584448787b4a3488200722672c0eee0d)
/publish/taghandlers.php: r1949 (3fa1b9ded18e6074b2495a3f4e3c33b5)
/publish/atom.php: r1864 (50602e2f1c443819a0a60f14f39d3093)
/publish/log.php: r1637 (a4a772567079f18101a1752446f3f6d4)
/publish/comment.php: r1951 (a3f803d744fea80808eb27a3f6b28674)
/publish/search.php: r1748 (b0182abc287055fe0932c263b2a5266d)
/publish/rss.php: r1864 (ae43eaa9ebe6b00e63810ae60ca7c6b6)
/publish.php: r1945 (abff727405efc6c4ec8b1cb403290063)
/index.php: r1948 (adf86f44861797f4969373c708ef48fb)
/css.php: r944 (763fa7658fc19ad23a5b2126fcdf366c)

Offline

#4 2007-06-26 19:05:51

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: problem with romanian characters in IE6

Ok, so far everything looks ok. None of the obvious errors.

Can you be more specific in describing the problem, or maybe even point to an example-page. If the error is only seen in the backend, please copy and paste and post the snippet in the forum. And describe specifically which characters have the problem.

I wonder if it’s merely a font-issue, i.e., ie6 using a font that is missing certain characters. Can windows users help here with how languages/language-support are installed/maintained on windows/ie6?

Offline

#5 2007-06-26 20:43:13

quinceginger
Member
From: Romania
Registered: 2006-08-21
Posts: 29

Re: problem with romanian characters in IE6

Hello,

In the link below you’ll find a PrtSc illustrating the problem:

http://misesromania.net/438/

One can observe that the browser is displaying squares instead the letters “ș” and “ț”.
However, the defect is confined to the excerpt of the article shown in the image and to very few other places. (One is the text: “Noi capitole traduse și adăugate la:” also shown in the image and written directly in the page form.) You can see in the image that in the other excerpts the letters in question are represented correctly.

I noticed lately that Opera has a variety of the problem: while it displays the characters in question it shows them with a smaller font (suggests a replacment from another set).

Offline

#6 2007-06-26 21:16:42

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: problem with romanian characters in IE6

It’s indeed a windows problem:
http://blog.veni.com/?p=144

Microsoft Windows XP does not recognize some characters in Romanian and Bulgarian alphabet, we found from EU Commission sources.

[…]

There is a similar problem with 4 Romanian characters which are also missing in Times New Roman and Arial. The characters are: ș Ș ț Ț, the lower- and uppercase letters S and T with comma below, Unicode codes 0219, 0218, 021B, 021A. A common — but not fully satisfactory — practice for getting around this problem is using similar looking characters with different Unicode codes (small and capital letters S or T cedilla: ş ţ Ş Ţ). In the past, the Romanian characters Ș ș Ț ț have been implemented as small and capital letters S or T cedilla Ş ş Ţ ţ (U+015E, U+015F, U+0162, U+0163). Since the Romanian authorities (Academia Română) have decided that a comma should be used instead of the cedilla, these characters will be implemented using the new Unicode codes for “T/t/S/s with comma below” (U+0218, U+0219, U+021A, U+021B) in the future.

[…]

Then it goes on about the details, workarounds with different fonts etc, and that Microsoft fixed it, then broke it again, and is supposedly about to fix it (or has fixed it, and you need to install the updates). One of the comments there mentions this url:

http://www.microsoft.com/downloads/details.aspx?FamilyID=0ec6f335-c3de-44c5-a13d-a1e7cea5ddea&DisplayLang=en

Don’t know if this will appear in Windows Update…

Offline

#7 2007-06-27 00:09:26

quinceginger
Member
From: Romania
Registered: 2006-08-21
Posts: 29

Re: problem with romanian characters in IE6

Thank you, Sencer!

The specific difference (in my case) that triggers the faulty rendition is input of text directly in the textpattern interface open with Firefox on Windows XP and lately Vista (and I am sure that if it comes from Windows, XP and Vista (up to date) share this weakness).
Text pasted from applications as Notepad or Open Office is displayed very well.

Since txp is the only modifiable factor in our circumstance, I see two solutions:

1. the simple one: If only Arial and Times New Roman have this bug, to tweak textpattern so as to tell the browser to use other fonts (of choice) than these for the input areas of its interface.

A sensible assumption: The site’s romanian audience very likely to operate on cracked windows xp + IE6, therefore without the EU2007 font update :)

One general solution for backwards compatibility: to make txp (and not only txp – this forum viewed with IE6 has the same problem – ) recognize the 02** characters quoted in your post and tell IE6 to replace them with their 01** correspondents. The same for Bulgarian. Can anybody do this?

Until then I intend to do the following:

modify keyboard input with the MKLC;
advise all future contributors to the site to do the same;
find and replace all coma characters with cedilla characters.

Again, if anybody knows of a faster and simpler solution, please let me know.

Now, if solution no. 1 is at hand, please let me know how to implement it.

(A bit pedantic, but I hope the post will serve others too.)

Last edited by quinceginger (2007-06-27 04:08:18)

Offline

#8 2007-06-27 07:19:28

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: problem with romanian characters in IE6

If you want to solve this is inside txp, it’s definitely for a plugin. It might be solvable when articles are posted which would be the best solution (only one-time change for each article), but it can definitely be solved with a “custom”/replacement body-tag that does some substitution on display. Maybe ask in the plugin request forum, or look for a plugin that does replacement, and substitute the relevant code – it’s not a cmpicated plugin to write.

Offline

#9 2007-06-27 11:21:36

quinceginger
Member
From: Romania
Registered: 2006-08-21
Posts: 29

Re: problem with romanian characters in IE6

I’ll look and ask around for a plugin indeed. Thanks a lot again for the quick and effective help!

Offline

Board footer

Powered by FluxBB