Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Data Fetching problem outside the CPG System  (Read 1730 times)

0 Members and 1 Guest are viewing this topic.

npl247

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Data Fetching problem outside the CPG System
« 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.
« Last Edit: February 06, 2008, 11:04:53 am by Nibbler »
Logged

Nibbler

  • Guest
Re: Data Fetching problem outside the CPG System
« Reply #1 on: February 06, 2008, 10:37:56 am »

Make sure both Coppermine and the other website are using utf8 encoding.
Logged

npl247

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Data Fetching problem outside the CPG System
« Reply #2 on: February 06, 2008, 11:02:30 am »

Thankx buddy, i got my problem solved. it was simply charset mismatch in 2 webpages.
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 20 queries.