PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Mod Submissions

Reply
 
Thread Tools
Old 01-14-2005, 02:10 PM   #1
machek
Green Mole
 
Join Date: Jan 2005
Posts: 2
CP 1250

I had small problem with pages using CP1250 and PHPDig. After while I found solution, which is not very nice, but works.

1. set iso-8859-2 in config.php
2. add to $phpdig_string_subst['iso-8859-2'] problematic characters čžť - sipmly C:ÇĆ change to C:ÇĆČ ...
3. ok it works, correctly add records to database, but it doesn't display problematic characters in searching page.
4. add header to search.php
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title><phpdig:title_message/></title>
<META http-equiv="Content-Type" content="text/html; charset=windows-1250">
<META http-equiv="Content-language" content="cs">


5. remove this part from template which you would like to use
6. That's it.

I hope that I will not disturb somebody with this solution. If anybody has better idea how to sort out CP1250, please post it.

Last edited by machek; 01-14-2005 at 02:13 PM.
machek is offline   Reply With Quote
Old 01-14-2005, 09:06 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Perhaps section 4.4 of the documentation might be helpful.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 01-23-2005, 08:45 AM   #3
mckapco
Green Mole
 
Join Date: Jan 2005
Posts: 1
Please, can you help me with charset iso-1250? problematic characters are š,ľ...
Thanks!
mckapco is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows-1250 vilda How-to Forum 1 07-23-2005 01:05 PM


All times are GMT -8. The time now is 01:47 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.