Feng Forum

Support => Older versions => : Fill April 30, 2010, 10:19:14 AM

: [Solved][1.7-RC] [1.7-b2] UTF-8 support problems.
: Fill April 30, 2010, 10:19:14 AM
Server: FreeBSD 7.2, php5-5.3.2, MySQL-server-5.1.39.
Tested on:
a. MacOSX 10.5.8+Opera 10.51/Safari 4.0.5
b. Windows XP SP3+Opera 10.53/IE8/FF3.6.3

Several minor bugs with UTF8 support.
0. Attachments in email, named in UTF8 encoding are displayed only as extension (ie '.doc' instead of 'some_UTF8_filename.doc'). But I still can download the original attachment with original name.

1. When importing email messages into another project, FO asks about saving attachment into 'Documents'. If attachment name was in UTF8 encoding (depends on sender's email client) - you'll see only filename extension in your 'Documents'.
Example: I have a new email with attachment 'some_UTF8_filename.doc' (name in UTF8 from sender's email client). Drag & drop it into some another project, confirm movement, confirm store. Go to 'Documents'. You'll see only '.doc'.

In addition, another files, which have same extension and UTF8 name are added as revisions to the first file.

2. Fails to import contacts from csv/vcard, if file contains any UTF8 strings.

Latest messages from debug mode:
Session "default" started at 2010-04-29T13:33:29+0000
#1 ERROR: Error: iconv() [<a href='function.iconv'>function.iconv</a>]: Detected an incomplete multibyte character in input string in '/home/www/fengoffice/application/functions.php' on line 875 (error code: 8 )
Time since start: 2.2311038970947 seconds
: Re: [1.7-RC] [1.7-b2] UTF-8 support problems.
: Fill May 10, 2010, 11:18:32 PM
Any ideas?  :'(
: Re: [1.7-RC] [1.7-b2] UTF-8 support problems.
: cabeza May 11, 2010, 12:48:53 PM
have you installed php extension mbstrings?
: Re: [1.7-RC] [1.7-b2] UTF-8 support problems.
: Fill May 12, 2010, 06:19:06 AM
cabeza, yes.
: Re: [1.7-RC] [1.7-b2] UTF-8 support problems.
: cabeza May 12, 2010, 12:08:03 PM
Have you tried it in a different server environment?
: Re: [1.7-RC] [1.7-b2] UTF-8 support problems.
: Fill May 12, 2010, 03:27:17 PM
cabeza, tried OpenBSD 4.6 with mysql-server 5.0.51. Same problem there :(
: Re: [1.7-RC] [1.7-b2] UTF-8 support problems.
: cabeza May 13, 2010, 11:47:45 AM
Thanks for all of your feedback Fill.
I was wondering ... have you tried whether this worked on 1.6.2 ?
: Re: [1.7-RC] [1.7-b2] UTF-8 support problems.
: Fill May 13, 2010, 12:42:55 PM
cabeza, I'll install 1.6.2 tomorrow & try.

One more problem with UTF-8: if I receive an empty email (I mean the letter itself, subject can be filled) with attached file - I can't see an attach. Any other email client shows attach.
: Re: [1.7-RC] [1.7-b2] UTF-8 support problems.
: Fill May 14, 2010, 12:26:06 PM
Same problem in 1.6.2.
: Re: [1.7-RC] [1.7-b2] UTF-8 support problems.
: alvarotm01 May 14, 2010, 06:24:47 PM
Hi Fill,

The problem in email attachments is fixed for next release.
We still can not reproduce the error while importing contacts,
can you give us an example csv file that fails?

meanwhile we will keep working on this.
regards
: Re: [1.7-RC] [1.7-b2] UTF-8 support problems.
: Fill May 17, 2010, 06:18:45 AM
Faulty *.csv attached. BTW, same issue with *.vcf.

The problem in email attachments is fixed for next release.
Great news, thanks!
: Re: [1.7-RC] [1.7-b2] UTF-8 support problems.
: alvarotm01 May 17, 2010, 12:51:35 PM
The problem is that the file has UTF-8 characters but the file is saved as ANSI.
If you open it with a text editor and save it with UTF-8 encoding it will work.
The same applies to the .vcf

If the file contains UTF-8 characters the application requires that the file is saved as UTF-8.

regards
: Re: [1.7-RC] [1.7-b2] UTF-8 support problems.
: Fill May 17, 2010, 02:53:15 PM
alvarotm01, thanks!
: Re: [Solved][1.7-RC] [1.7-b2] UTF-8 support problems.
: Fill May 19, 2010, 01:02:10 PM
Everything works in 1.7RC2.  :D