Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2005-10-13 20:19:13
- delu
- Member
- From: Katowice, Poland
- Registered: 2005-08-03
- Posts: 23
What is wrong with '
Hi!
There’s something wrong with letter ‘Ł’. When I use it in articles, it automatically changes to something like this: ‘�?’.
And there’s another thing – when I use this letter lowercase (‘ł’) is’t working well… The problem is only with uppercase ‘Ł’.
Any idea?
PS. I didn’t know where to post this topic: here or in Troubleshooting. Because it is related to localisation, I decided to post it here.
Offline
Re: What is wrong with '
If you are using a version older than 4.0.1 please update.
If you are using 4.0.1, please post your high level diagnostics.
I am not able to reproduce the problem.
Offline
#3 2005-10-17 18:06:24
- delu
- Member
- From: Katowice, Poland
- Registered: 2005-08-03
- Posts: 23
Re: What is wrong with '
I’m using Txp 4.0.1. I’ve checked if this problem occurs on Txp 4.0. It doesn’t… I’m wondering what’s wrong with (my) Txp 4.0.1 version. Both Txp 4.0.1 and Txp 4.0 are running on the same http and mysql sever.
That’s my high level diagnostics:
Wersja Textpattern: 4.0.1 (r888)
last_update: 2005-10-13 20:00:10/2005-09-06 10:58:24
Absolutna ścieżka do witryny: C:/apachefriends/xampp/htdocs (C:\apachefriends\xampp\htdocs)
$path_to_site: C:\apachefriends\xampp\htdocs\ksm
Ścieżka do Textpattern: c:\apachefriends\xampp\htdocs\ksm\textpattern
Format trwałych odsyłaczy: messy
upload_tmp_dir: .;c:\apachefriends\xampp\tmp
Katalog tymczasowy: C:\apachefriends\xampp\htdocs\ksm\textpattern\tmp
Adres witryny: localhost/ksm
Wersja PHP: 5.0.4
Register globals: 1
Magic quotes: 1/0
MySQL: 4.1.12
Ustawienia regionalne: English_United Kingdom.1252
Serwer: Apache/2.0.54 (Win32) mod_ssl/2.0.54 OpenSSL/0.9.7g PHP/5.0.4
Wersja serwera Apache: Apache/2.0.54 (Win32) mod_ssl/2.0.54 OpenSSL/0.9.7g PHP/5.0.4
Treść pliku .htaccess:
————————————
#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> ————————————Charset (default/config): latin1/
character_set_client: latin1
character_set_connection: latin1
character_set_database: latin1
character_set_results: latin1
character_set_server: latin1
character_set_system: utf8
character_sets_dir: c:\apachefriends\xampp\mysql\share\charsets/
19 Tables: textpattern is utf8, txp_plugin: 1 client is using or hasn’t closed the table properly
Rozszerzenia PHP: bcmath, calendar, com_dotnet/0.1, ctype, ftp, iconv, odbc/1.0, pcre, session, SPL, SQLite, standard/5.0.4, tokenizer/0.1, zlib/1.1, libxml, dom/20031129, SimpleXML, wddx, xml, apache2handler, gd, mbstring, ming, mssql, mysql, openssl, pdf/2.0.5, xsl/0.1, zip
Moduły serwera Apache: core, mod_win32, mpm_winnt, http_core, mod_so, mod_access, mod_actions, mod_alias, mod_asis, mod_auth, mod_auth_anon, mod_auth_dbm, mod_auth_digest, mod_autoindex, mod_cern_meta, mod_cgi, mod_dir, mod_env, mod_expires, mod_file_cache, mod_headers, mod_imap, mod_include, mod_info, mod_isapi, mod_log_config, mod_mime, mod_proxy, proxy_connect, proxy_http, proxy_ftp, mod_negotiation, mod_rewrite, mod_setenvif, mod_speling, mod_status, mod_unique_id, mod_userdir, mod_usertrack, mod_vhost_alias, mod_ssl, mod_php5
/include/txp_category.php: r628 (e92f8775125b69b1170e9026e7ab0d26)
/include/txp_plugin.php: r758 (3381ca79884afdf8d625d68ce62760eb)
/include/txp_auth.php: r716 (3a2a9e9b3a3d94527268434e9eb9e278)
/include/txp_form.php: r881 (f98d88fb56ee4c39e32329c9ad8161ef)
/include/txp_section.php: r685 (5cae4258cd1065c36b787eb22605c0a3)
/include/txp_tag.php: r650 (c4d9210382c5c2779f5454770cf2ac17)
/include/txp_list.php: r856 (1a3e54c0a007cee4fc5d129ad5ebe199)
/include/txp_page.php: r876 (e22dc37b465b87757722732a225b25f3)
/include/txp_discuss.php: r871 (66974d590659b6e6c8d550dc44b8ba78)
/include/txp_prefs.php: r765 (df266d038fd2bfa1c6f18b199de9e94a)
/include/txp_log.php: r628 (957a21ed9e3a7a088f9c25c927ff8e44)
/include/txp_preview.php: r628 (a16f84b6610fc66db0bce51e25b7af34)
/include/txp_image.php: r679 (c25abb0c3477e0279836e0dc202dea47)
/include/txp_article.php: r877 (3f230bd32f6fd44e289fad90db1e9172)
/include/txp_css.php: r628 (59d9f0d473ed3beab571674b1cf6b13e)
/include/txp_admin.php: r787 (37ad5c12586d4fd0ab267d2ac8278499)
/include/txp_link.php: r628 (20fda9968512d94d88d729588b99bce4)
/include/txp_diag.php: r852 (09126d2fe483f7ca110fc69bd285614f)
/lib/admin_config.php: r877 (9aea12193cc76eea1964eb0383ec6513)
/lib/txplib_misc.php: r884 (dc3d7fc0464dc34b4b340edcf16510af)
/lib/taglib.php: r628 (493878f922262157601c26a999a1c478)
/lib/txplib_head.php: r856 (8dc52dceb1a44965db75cc1615dfc0a4)
/lib/classTextile.php: r886 (c28c8f662aff56155b6dc2cc51846826)
/lib/txplib_html.php: r763 (54ace98025186be13bdbbfd764a54b4a)
/lib/txplib_db.php: r884 (bcf244957fc34d7741279827f805c8da)
/lib/IXRClass.php: r765 (2efb0fb05b55c634072b0bae9af38bdd)
/lib/txplib_forms.php: r628 (1bce1e4658c002d69990b939d7f76628)
/publish/taghandlers.php: r887 (52d7244ddff488c20caf1a5a669cd61a)
/publish/atom.php: r880 (387edf51b5d7489d0bbd82f6dd53b34d)
/publish/log.php: r864 (c3d16d3dfe375819a19fcd62398e4b86)
/publish/comment.php: r865 (6a125a3b69448fd47c4b4865ddd7e9f1)
/publish/search.php: r884 (80f942f1dc301857c2fa9dcb16aa1246)
/publish/rss.php: r880 (bb1c43e76e4a978186c58fbd21157c77)
/publish.php: r884 (28a811d922c9c1a6db12165d7ec38896)
/index.php: r888 (ecd676c776d2e3918a6724a8bb526e0a)
/css.php: r795 (99e8fce7628f8f89ee0c89c88aceaa01)
Last edited by delu (2005-10-17 18:13:02)
Offline
Re: What is wrong with '
Looks like you messed up the install a bit. Maybe you re-created the textpattern table manually or from the backup of a different installation. The relevant bits are:
Charset (default/config): latin1/
character_set_connection: latin1
19 Tables: textpattern is utf8
The textpattern-table is in utf8, however the client uses latin1 for the connection. It is also not configured to use utf8. Given that the message only appears for one table (and not all tables), there must have been some manual intervention (on your part).
See here for more information:
http://textpattern.net/wiki/index.php?title=Unicode_Support#Troubleshooting_unicode_problems_in_Textpattern
So this is not a bug, and it has nothing to do with a specific version.
Easiest solution would be to do a clean install and use that.
Otherwise you would need to change your textpattern-table back to latin1. (Note: you do NOT convert the contents to latin1. Even with latin1 tables, all the content is stored in utf8, it’s just that mysql doesn’t “know” about it.) I can’t give you more specific information, because I’ve never run into that situation myself and possibly a bit experimentation is necessary to achieve the desired result. There were some hints in this topic: http://forum.textpattern.com/viewtopic.php?id=9999
Offline
#5 2005-10-17 21:47:28
- delu
- Member
- From: Katowice, Poland
- Registered: 2005-08-03
- Posts: 23
Re: What is wrong with '
Sencer, thanks for your help! Now everything works well.
I’ve imported table ‘textpattern’ to my database when I was upgrading my MySQL server and that table was in utf-8. Other tables were in latin1 because they weren’t imported from old installation of TXP.
I didn’t notice that something was wrong until I typed the “Ł” letter…
I’ve changed the charset in phpMyAdmin for every field and for whole ‘textpattern’ table from utf-8 to latin1. Unfortunately I had to change the content of this table too because other language-specific characters changed into something strange…
But now everything is fine. And once more: big thanks for help! :)
Last edited by delu (2005-10-17 21:50:37)
Offline
Pages: 1