Opened 2 years ago
Closed 2 years ago
#1487721 closed Bugs (wontfix)
Opening a message with 'charset=X-VIET-VPS' generates a PHP error
| Reported by: | Ch00k | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.6-beta |
| Component: | PHP backend | Version: | 0.5 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
I have several messages with header
Content-Type: text/plain; charset=X-VIET-VPS; format=flowed
Opening them is OK, but there is a PHP error in RC log:
PHP Error: Could not convert string from VIET-VPS to UTF-8. Make sure iconv/mbstring is installed or lib/utf8.class is available. in /var/www/rc/htdocs/program/include/main.inc on line 309 (GET /?_task=mail&_action=preview&_uid=39&_mbox=Sent&_framed=1)
Change History (3)
comment:1 Changed 2 years ago by alec
- Milestone changed from later to 0.6-beta
comment:2 Changed 2 years ago by alec
comment:3 Changed 2 years ago by alec
- Resolution set to wontfix
- Status changed from new to closed
Since [3ddca3b9] the error is not logged. I didn't found any library supporting this charset.
Note: See
TracTickets for help on using
tickets.

Iconv nor mbstring doesn't support this encoding. So, you'll need to create vps-to-utf8 map file for utf8 class (lib/utf8.class.php) if possible.