Some more observations,

If I import the unicode data via backend (mysql) then Habari can
display it (for the post)

However, since I manually update the slug using the value from the
title (something like this : update habari__posts set slug = title ),
then I can click on the permalink that has non-Unicode data (non-
Unicode slug) and go to that post, but when I click on the permalink
that has Unicode data (with Unicode slug), then system returns 404
error

And, like I mentioned, when I post an entry with Unicode title, it's
not saved correctly in DB

So I guess in some text-process function Habari messed up the Unicode
content ?

Regards,

On Nov 10, 9:13 pm, Sim <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I just checked and my localhost doesn't have this "--enable-zend-
> multibyte". Is there anyway that I can disable this setting for my
> webhost ? please note that it's a shared-host.
>
> Tks
>
> On Nov 10, 6:14 pm, Sim <[EMAIL PROTECTED]> wrote:
>
> > I will check once I come back home. However, I just don't understand
> > why I installed tons of scripts on my current webhost e.g. drupal,
> > wordpress and they never cause any trouble with Unicode ? :-(
>
> > On Nov 10, 4:31 pm, Andrew da Silva <[EMAIL PROTECTED]> wrote:
>
> > > That why I'm asking, it seems that extension causes problem with other
> > > scripts... something to do with the detect.encoding also... very vague
> > > and not documented...
>
> > > On Nov 10, 3:20 am, Sim <[EMAIL PROTECTED]> wrote:
>
> > > > Hi,
>
> > > > I'm at the office so I cannot check my localhost (at home), but I
> > > > check my webhost (php_info()http://bag.listenme.net/test.php) and
> > > > they seems to have --enable-zend-multibyte also
>
> > > > Regards,
>
> > > > On Nov 10, 12:37 pm, Andrew da Silva <[EMAIL PROTECTED]> wrote:
>
> > > > > Was your local server compiled with --enable-zend-multibyte?
>
> > > > > On Nov 9, 11:06 pm, Sim <[EMAIL PROTECTED]> wrote:
>
> > > > > > Hi,
>
> > > > > > I compared the php.ini on my webhost and the one on my localhost, 
> > > > > > the
> > > > > > most notable difference is this one
>
> > > > > > on my webhost :
> > > > > > mbstring.internal_encoding      ISO-8859-1      no value
>
> > > > > > on my localhost:
> > > > > > mbstring.internal_encoding      neutral no value
>
> > > > > > and "neutral" stands for UTF-8 (from what I google-d)
>
> > > > > > So I'm not sure whether this is the problem. I tried to modify the 
> > > > > > one
> > > > > > on my localhost to ISO-8859-1 but it still works fine there. And my
> > > > > > host doesn't allow setting PHP value via .htaccess so I cannot check
> > > > > > whether it works there or not.
>
> > > > > > Any comments ?
>
> > > > > > Thanks
>
> > > > > > On Nov 10, 10:46 am, "Chris Meller" <[EMAIL PROTECTED]> wrote:
>
> > > > > > > I had similar issues when we were first testing the unicode 
> > > > > > > support, but we
> > > > > > > were never able to isolate the problem and it only ever seemed to 
> > > > > > > happen on
> > > > > > > my installs (both local and on my server)... Obviously that 
> > > > > > > doesn't help fix
> > > > > > > it, just thought I'd let you know it isn't just you who had a 
> > > > > > > problem. :)
>
> > > > > > > On Sun, Nov 9, 2008 at 9:26 PM, Sim <[EMAIL PROTECTED]> wrote:
>
> > > > > > > > Hi,
>
> > > > > > > > The first time I imported my post but for the later attempts I 
> > > > > > > > just
> > > > > > > > installed a new Habari (0.5.2 and trunk) with empty posts. Then 
> > > > > > > > I
> > > > > > > > tried to create new post with some unicode data (in the title 
> > > > > > > > and the
> > > > > > > > content), it still failed, the data is not saved correctly in 
> > > > > > > > DB (some
> > > > > > > > special characters lost)
>
> > > > > > > > Regards,
>
> > > > > > > > On Nov 10, 10:17 am, Graham Christensen
> > > > > > > > <[EMAIL PROTECTED]> wrote:
> > > > > > > > > Are you importing your database of posts? Or are you starting 
> > > > > > > > > from
> > > > > > > > scratch?
>
> > > > > > > > > Graham Christensen
>
> > > > > > > > >http://itrebal.com-CustomizedWebHosting
> > > > > > > > > [EMAIL PROTECTED]
>
> > > > > > > > > Sim wrote:
> > > > > > > > > > Hi,
>
> > > > > > > > > > That's why I tried to install a fresh 0.5.2 as well as a 
> > > > > > > > > > latest trunk
> > > > > > > > > > on my webhost to try and the problem is still there...
>
> > > > > > > > > > Regards,
>
> > > > > > > > > > On Nov 10, 10:01 am, Graham Christensen
> > > > > > > > > > <[EMAIL PROTECTED]> wrote:
>
> > > > > > > > > >> I'm somewhat ignorant on the topic, but it sounds as if 
> > > > > > > > > >> something went
> > > > > > > > > >> wrong while exporting/importing the DB?
>
> > > > > > > > > >> Graham Christensen
>
> > > > > > > > > >>http://itrebal.com-CustomizedWebHosting
> > > > > > > > > >> [EMAIL PROTECTED]
>
> > > > > > > > > >> Sim wrote:
>
> > > > > > > > > >>> Hi all,
>
> > > > > > > > > >>> I installed Habari (0.5.2) on my local machine and 
> > > > > > > > > >>> posting/searching
> > > > > > > > > >>> unicode content works fine.
>
> > > > > > > > > >>> However when I transfer the installation to my webhost, 
> > > > > > > > > >>> it broke. The
> > > > > > > > > >>> unicode content wasn't saved to the DB correctly. I also 
> > > > > > > > > >>> tried to
> > > > > > > > > >>> install the latest trunk on my webhost but it still 
> > > > > > > > > >>> failed.
>
> > > > > > > > > >>> My MySQL collation is "utf8_general_ci" and my phpinfo() 
> > > > > > > > > >>> can be found
> > > > > > > > > >>> herehttp://bag.listenme.net/test.php
>
> > > > > > > > > >>> Could someone give me some help ?
>
> > > > > > > > > >>> Regards
--~--~---------~--~----~------------~-------~--~----~
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/habari-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to