#1487049 closed Bugs (worksforme)
Attachment with native characters (æøå)
| Reported by: | osos | Owned by: | |
|---|---|---|---|
| Priority: | 2 | Milestone: | 0.5-beta |
| Component: | Core functionality | Version: | 0.4.2 |
| Severity: | critical | Keywords: | attachment native characters |
| Cc: |
Description
It is not possible to send emails with attachments containing native characters (like the danish æøå) in their filenames.
Like "Belg æ ø å.pdf".
The files attach alright, but an "Internal error" occurs when sending the mail.
Attachments (1)
Change History (9)
Changed 3 years ago by osos
comment:1 Changed 3 years ago by alec
Works for me. We need more info: PHP/DB versions? Any errors in log? What database and its encoding are you using (should be UTF8)?
comment:2 Changed 3 years ago by osos
logs/errors:
[11-Oct-2010 11:49:54 +0200]: PHP Error: Invalid compose ID in [censored]/program/steps/mail/sendmail.inc on line 33 (POST [censored]?_task=mail&_action=send)
PHP version:
PHP 5.2.4-2ubuntu5.12 with Suhosin-Patch 0.9.6.2 (cli) (built: Sep 20 2010 13:18:10)
MySQL:
mysql Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486) using readline 5.2
session and user tables were ascii-general, but now changed to utf-8 -> no difference.
comment:3 Changed 3 years ago by alec
Try with disabled suhosin. Also what now returns DESCRIBE TABLE session; query?
comment:4 Changed 3 years ago by osos
tried disabling suhosin through .htaccess:
php_flag suhosin.simulation On
Output of Describe session:
+---------+-------------+------+-----+---------------------+-------+
| Field | Type | Null | Key | Default | Extra |
+---------+-------------+------+-----+---------------------+-------+
| sess_id | varchar(40) | NO | PRI | NULL | |
| created | datetime | NO | | 0000-00-00 00:00:00 | |
| changed | datetime | NO | | 0000-00-00 00:00:00 | |
| ip | varchar(15) | NO | | NULL | |
| vars | text | NO | | NULL | |
+---------+-------------+------+-----+---------------------+-------+
comment:5 Changed 3 years ago by alec
Sorry, I mean SHOW CREATE TABLE session;
comment:6 Changed 3 years ago by osos
Show create table session:
+---------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Table | Create Table | +---------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | session | CREATE TABLE `session` ( `sess_id` varchar(40) character set ascii NOT NULL, `created` datetime NOT NULL default '0000-00-00 00:00:00', `changed` datetime NOT NULL default '0000-00-00 00:00:00', `ip` varchar(15) character set ascii NOT NULL, `vars` text character set ascii NOT NULL, PRIMARY KEY (`sess_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 | +---------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
comment:7 Changed 3 years ago by alec
- Resolution set to worksforme
- Status changed from new to closed
Change charset for vars column too.
comment:8 Changed 3 years ago by osos
Perfect.
Thank you very much. Must be leftovers from RC 0.1 i guess.

Sample file with æøå in filename