Including iconv into php seems to be breaking my server. I was wondering there was another way to use this function.
for what purpose you want to use iconv?
Global Moderator
Internet Junkie
Gender:
Posts: 1525
6359 credits Members referred : 8
Gimme all your cookies!!!
« Reply #2 on: Jul 20, 2006, 09:37:16 am »
Well, it is for that Chinese pdf stamp... I was looking into changing the mysql encoding as an alternative, as I will be storing the Chinese on the server and then it will be the source for the stamper.
Global Moderator
Internet Junkie
Gender:
Posts: 1525
6359 credits Members referred : 8
Gimme all your cookies!!!
« Reply #7 on: Jul 20, 2006, 10:37:29 am »
There are no alternative functions really. I have tried libiconv too but it is not included in the php. We tried compiling it with php but it brought down every site on the server... not good!
I was wondering if there was another way around this.
Global Moderator
Internet Junkie
Gender:
Posts: 1525
6359 credits Members referred : 8
Gimme all your cookies!!!
« Reply #9 on: Jul 20, 2006, 10:50:55 am »
My laptop sees the Chinese characters no problem and they are stored in mysql db no problem. It is just the pdf stamp that requires the characters in GB2312 encoding.
Maybe I just need to sort out this issue with getting iconv to work!?
Global Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #11 on: Jul 20, 2006, 11:12:41 am »
Quote
It is just the pdf stamp that requires the characters in GB2312 encoding.
does this pdf tool not work for you with utf-8 encoding?
Global Moderator
Internet Junkie
Gender:
Posts: 1525
6359 credits Members referred : 8
Gimme all your cookies!!!
« Reply #12 on: Jul 20, 2006, 11:48:45 am »
Yeah the stamp works, but for Chinese I need to convert the encoding...
The language of the db is English-iso-8851-1. What would happen if I changed it to Traditional Chinese Big5? Would it affect all the data that iis in there OR all the data that is stored after the change?
Yeah the stamp works, but for Chinese I need to convert the encoding...
The language of the db is English-iso-8851-1. What would happen if I changed it to Traditional Chinese Big5? Would it affect all the data that iis in there OR all the data that is stored after the change?
so you have a mix of iso-8859-1 and chinese?
Global Moderator
Internet Junkie
Gender:
Posts: 1525
6359 credits Members referred : 8
Gimme all your cookies!!!
« Reply #15 on: Jul 20, 2006, 02:18:45 pm »
True and the Chinese looks like the above example (one without the spaces).
We are going to try again on the weekend to update php to include iconv. So I will keep you posted! Thanks for the help guys!