TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 01, 2024, 05:18:46 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,174
  • Total Topics: 21,220
  • Online today: 167
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 125
  • Total: 125

TP editor (FCKeditor) encoding?

Started by dimdom, November 10, 2008, 05:10:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dimdom

When writing an article in TP editor (FCKeditor) everything displays OK. See example (in Greek). See example:

QuoteΕδώ βρίσκεÏ,,αι Ï,,ο αρχείο Ï,,ηÏ, παλαιάÏ, Gallery Ï,,οÏ... In Nomine. Î"ια ισÏ,,ορικούÏ, και άλλοÏ...Ï, λόγοÏ...Ï, παραμένει ζωνÏ,,ανή αλλά χωρίÏ, Ï,,ην δÏ...ναÏ,,ÏŒÏ,,ηÏ,,α προσθήκηÏ, φωÏ,,ογραφιών. Η νεόÏ,,ερη και πιο εξελιγμένη Ï,,εχνικά ΦΩΤΟ Gallery έχει αναλάβει αÏ...Ï,,όν Ï,,ον δύσκολο ρόλο πλέον...

But when I am switching to Source everything looks distorted and ...chinese. See example:

QuoteΕδÏŽ βρίσκεται το αρχείο της παλαιάς Gallery του In Nomine. Για ιστορικούς και άλλους λÏŒγους παραμένει ζωντανή αλλά χωρίς την δυνατÏŒτητα προσθήκης φωτογραφιÏŽν. Η νεÏŒτερη και πιο εξελιγμένη τεχνικ


When I am editing an article the characters are distorted but they are keep showing ok in the front end...

I am using TP 0.9.8, in 1.1.7 SMF with utf-8 in SMF...


Any ideas? ???

bloc

The FCKeditor is transforming the charachters to a "safe" word, thats what you see there. It will still render as normal greek charachters in the article.

dimdom

Any way to prevent editor from doing that, Bloc?

G6Cad

Dont think it can work, you have to ask the fckeditor creators on their homepage as the functions within the editor is their work.
TP just use the fckpackage as a built in option to tp

dimdom


feline

You have to setup in the FCKeditor config:
FCKConfig.ProcessHTMLEntities = true ;
FCKConfig.IncludeLatinEntities = false ;
FCKConfig.IncludeGreekEntities = false ;

FCKConfig.ProcessNumericEntities = false ;

Then your inputs shown on sourcecode as:
Εδώ βρίσκεÏ,,αι Ï,,ο αρχείο Ï,,ηÏ, παλαιάÏ, Gallery Ï,,οÏ... In Nomine. Î"ια ισÏ,,ορικούÏ, και άλλοÏ...Ï, λόγοÏ...Ï, παραμένει ζωνÏ,,ανή αλλά χωρίÏ, Ï,,ην δÏ...ναÏ,,ÏŒÏ,,ηÏ,,α προσθήκηÏ, φωÏ,,ογραφιών. Η νεόÏ,,ερη και πιο εξελιγμένη Ï,,εχνικά ΦΩΤΟ Gallery έχει αναλάβει αÏ...Ï,,όν Ï,,ον δύσκολο ρόλο πλέον...

fel

dimdom