• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CFPOP with Big5 mail,wrong subject encode!

New Here ,
Apr 18, 2006 Apr 18, 2006

Copy link to clipboard

Copied

my CFPOP tag work well,but when I got mail with Big5(chinese),the subject will show not correct chinese code,
no mater I set the page with utf-8 or big5.(but content were correct)
Then I buy the CFX_POP3 tag,it can set codding with utf-8 or big5,but I got the same problem.

can anyone help? thanks.
TOPICS
Advanced techniques

Views

658

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 18, 2006 Apr 18, 2006

Copy link to clipboard

Copied

Sam_2004_TW wrote:
> my CFPOP tag work well,but when I got mail with Big5(chinese),the subject will
> show not correct chinese code,

a lot depends on the mailer. are all the email BIG5 encoding? can other email
clients read the subjects ok?

> no mater I set the page with utf-8 or big5.(but content were correct)
> Then I buy the CFX_POP3 tag,it can set codding with utf-8 or big5,but I got
> the same problem.

so can cfmail in cfmx 6 & beyond.

> can anyone help? thanks.

what ver of cf? can you post your code?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 18, 2006 Apr 18, 2006

Copy link to clipboard

Copied

hi,

code using CFC_POP3:

<cfx_pop3 server="mail.mymail.com.tw" username="xxx" password="xxx" action="GETALL" name="testMail" ALWAYSCREATEQUERY charset="big5" stratRow ="1">

code using CFPOP:

<cfpop server="mail.myserver.com.tw" username="xxx" password="xxx" action="GETALL" name="testMail">

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 18, 2006 Apr 18, 2006

Copy link to clipboard

Copied

Sam_2004_TW wrote:
> <cfpop server="mail.myserver.com.tw" username="xxx" password="xxx"
> action="GETALL" name="testMail">

what version of cf? how are you displaying the cfpop query data?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 18, 2006 Apr 18, 2006

Copy link to clipboard

Copied

coldfusion 7.

and the code show query data is very simple.

<cfoutput query="testMail">
#testMail.subject#
</cfoutput>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 18, 2006 Apr 18, 2006

Copy link to clipboard

Copied

LATEST
Sam_2004_TW wrote:
> coldfusion 7.
>
> and the code show query data is very simple.
>
> <cfoutput query="testMail">
> #testMail.subject#
> </cfoutput>

well cfmx defaults to utf-8 which will make a mess out of BIG5 encoded
data. depending on what you'll be doing w/that data you'll need to
setencoding(), cfcontent, etc.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation