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.