forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: npl247 on February 06, 2008, 10:34:50 am
-
I am trying to use CPG in my website.Everything went fine till i was posting captions and keywords in English language, but i got problem when i started posting in unicoded text(Nepali). There is no problem with viewing photo captions within the CPG System, problem is seen when i tried to show the latest uploaded photo as a sub content in another web page system.
<iframe height="550" width="850" src="http://10.10.10.2\myWebPage\CPG\displayimage22.php?album=lastup&cat=0&pos=0" hspace="1" vspace="1" marginheight="1" marginwidth="1" scrolling="auto" frameborder="0" ></iframe>
there is no problem with photo but,
i get this content
राजविराजमा प्रदर्शनकारी र सुरक्षाकर्मी बीच झडप । प्रहरीको ला ी चार्जबाट करिब आधा दर्जन प्रदर्शकारी घाइते । ब्ल्ब् २०६४ माघ ११ ।
for this actual data,
राजविराजमा प्रदर्शनकारी र सुरक्षाकर्मी बीच झडप । प्रहरीको लाठी चार्जबाट करिब आधा दर्जन प्रदर्शकारी घाइते । २०६४ माघ ११ ।
Is it possible that i make a function that returns actual photo caption data.
And i would like to know if any additional encoding/decoding is done with the user inputs during posting and showing contents.
Any suggestions and guidence will be helpful to me.Thankx.
-
Make sure both Coppermine and the other website are using utf8 encoding.
-
Thankx buddy, i got my problem solved. it was simply charset mismatch in 2 webpages.