I have a problem with turkish characters

This is a place to discuss how to adapt mojoPortal to the needs of different cultures. Before asking questions here please first review the localization documentation.

This thread is closed to new posts. You must sign in to post in the forums.
9/20/2007 9:21:13 AM
Gravatar
Total Posts 9

I have a problem with turkish characters

hi joe,

I have a problem with turkish characters.

when I create a new page and write somthing than post it, turkish chars are wrong.

But for example I haven't same problem with my blog pages... Blog page working normall with turkish chars.

Why new page content getting turkish chars wrong....

Dou you have any idea?

(my mojoportal ver. 2-2-3-8-1 my page www.zaferdemirkol.com )

thanks

9/20/2007 9:37:22 AM
Gravatar
Total Posts 18439

Re: I have a problem with turkish characters

Hi Zafer,

Usually when people report issues like this it turns out to be database characterset related, but this case sounds different in that you say it works ok in the blog. When I look at your site it looks like there are non-english characters in your home page (HtmlContent module). Are you saying it only happens for new content? Did it work correctly before the upgrade?

What data layer are you using?

What characterset and collation is used in your db?

If you look at the properties of the mp_HtmlContent table do you see any difference in charset or collation vs the mp_Blogs table?

Thanks,

Joe

9/20/2007 9:50:52 AM
Gravatar
Total Posts 9

Re: I have a problem with turkish characters

Thanks for your answer,

 

"Are you saying it only happens for new content?" --- Yes

"Did it work correctly before the upgrade" --- Yes it did

I am using SQL server

What characterset and collation is used in your db? ----- I use same characterset before upgrade

If you look at the properties of the mp_HtmlContent table do you see any difference in charset or collation vs the mp_Blogs table? -----Looks like same, but ntext is it true for body ?

Thanks again

9/20/2007 10:21:03 AM
Gravatar
Total Posts 18439

Re: I have a problem with turkish characters

Hi Zafer,

Do you know what version you had before the upgrade?

There is a setting in Web.config:

<globalization
culture="auto:en-US"
uiCulture="auto:en"
requestEncoding="utf-8"
responseEncoding="utf-8"
fileEncoding="iso-8859-15" />

Did you previously have this customized? Maybe the new Web.config overwrote your settings? This setting really should not affect it but still might be related.

NText should be the correct data type for storing multi lingual text so it sounds correct for both tables.

I can't see any reason the HtmlContent module should behave any differently than the blog. I've reviewed the code and nothing jumps out at me.

Joe

9/20/2007 10:44:56 AM
Gravatar
Total Posts 9

Re: I have a problem with turkish characters

hi,

I customized web.config file....

really interesting...

Blog is working but page content get charactersets problem ???

Whe I input turkish sentence at blog page, not  charsets problem, but when I input new page content have charsets problem ...

All day check everything, but I didn't get any solution...

if you have any other idea please tell me...

Thanks...

 

 

9/20/2007 10:53:14 AM
Gravatar
Total Posts 18439

Re: I have a problem with turkish characters

One thing I can think of that is different between the blog and the htmlcontent module is that by default blog isn't cached and html is. I can't think of why this would make a difference but grasping for ideas.

If you click the gear icon next to the title of your htmlcontent instance, then you will see the default cahce time is probably 360. Try setting it to 0 then edit the content and see if it makes any difference.

Joe

9/20/2007 12:37:26 PM
Gravatar
Total Posts 9

Re: I have a problem with turkish characters

I tried .... But same... :(

I will check everyting....

Thanks for your interest...

 

9/20/2007 12:43:19 PM
Gravatar
Total Posts 18439

Re: I have a problem with turkish characters

Hi Zafer,

I'll keep pondering it here as well. If you could send me a utf encoded file like an html file or something with content in turkish that I can use to try and re-create the problem here it would help. If I can produce the problem here I can surely fix it.

Another epxeriment to try is changing the editor and see if it makes any difference. i.e if you are using FCKeditor try using TinyMCE or if you are using TinyMCE try using FCKeditor and see if that makes a difference. I would also try editing with different browsers IE7 and Firefox and see if result is the same in both or if its isolated to a specific browser.

Thanks,

Joe

9/20/2007 1:12:05 PM
Gravatar
Total Posts 18439

Re: I have a problem with turkish characters

Oh, forgot, if you want to send me some Turkish content so I can paste in here and try to produce this my email is joe dot audette at gmail dot com

Thanks,

Joe

9/20/2007 1:41:15 PM
Gravatar
Total Posts 9

Re: I have a problem with turkish characters

Hi joe,
I sent some screen pictures about my problem….
Doesn’t mather FCKeditor ,TinyMCE…. same problem….
interesting, old page (before the upgrade) content characters are true, but new inserts get wrong….
Thanks

9/20/2007 2:00:03 PM
Gravatar
Total Posts 18439

Re: I have a problem with turkish characters

Hi Zafer,

Thanks for the screenshots and sample text.
I can create new content using the HtmlContent module on my machine and I paste in the provided text and it works correctly for me every time. So I can't produce the symptom here. It is very puzzling.

Do you get the same results if you edit from a different client machine? Do you have any browser plug ins that could be a factor?

Joe

You must sign in to post in the forums. This thread is closed to new posts.