Closed Bug 564650 Opened 15 years ago Closed 15 years ago

Email_in not using UTF-8

Categories

(Bugzilla :: Incoming Email, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: admin, Unassigned)

References

(Depends on 1 open bug)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; it; rv:1.9.2.0) Gecko/20100115 SUSE/3.6.0-1.2 Ant.com Toolbar 1.5 Firefox/3.6 (.NET CLR 3.5.30729) Build Identifier: BugZilla 3.6 I was trying to add a bug via email_in, using japan character the row was *** @product = 王 *** the text is codified in UTF-8 and the command was ./email_in.pl -v < text.txt Output is *** Parsing Email Use of uninitialized value $summary in pattern match (m//) at ./email_in.pl line 80, <STDIN> line 9. Splitting Body and Attachments [Type: text/plain]... Posting a new bug... Sorry, either the product 王 does not exist or you aren't authorized to enter a bug into it. *** I've checked the database log and appeared that the incoming string is *** SELECT id,name,classification_id,description,isactive,votesperuser,maxvotesperbug,votestoconfirm,defaultmilestone,allows_unconfirmed FROM products WHERE name = 'ç�‹' *** Further research point that the charset is probably a iso-8859-1 Reproducible: Always Steps to Reproduce: 1.write a text wiht exotic character 2.log database query 3. ./email_in.pl it Expected Results: the query has to contain valid character... It happens also whit character like "è" "¡" and so on... Probably related to https://bugzilla.mozilla.org/show_bug.cgi?id=534055 Bug 534055. I tried to use a valid html header such as **** <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body bgcolor="#ffffff" text="#000000"> From: admin@tsmt.eu Subject: Bug Summary @product = 王 @component = lang @op_sys = All @platform = All @description = Spagnolo please... Aggiungi lo spagnolo please... </body> </html> *** but same error...
Depends on: 534055
See Also: → 534055
Okay. Could you attach the entire email, as it looked exactly when Bugzilla received it? Include all headers. (And make it an attachment, not a comment.)
No sorry... close, email header wasn't properly formatted...
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
See Also: 534055
Version: unspecified → 3.6
You need to log in before you can comment on or make changes to this bug.