Author Topic: [Solved][1.7-RC] [1.7-b2] UTF-8 support problems.  (Read 5970 times)

Fill

  • Newbie
  • *
  • Posts: 21
    • View Profile
[Solved][1.7-RC] [1.7-b2] UTF-8 support problems.
« on: 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
« Last Edit: May 19, 2010, 01:01:49 pm by Fill »

Fill

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: [1.7-RC] [1.7-b2] UTF-8 support problems.
« Reply #1 on: May 10, 2010, 11:18:32 pm »
Any ideas?  :'(

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
Re: [1.7-RC] [1.7-b2] UTF-8 support problems.
« Reply #2 on: May 11, 2010, 12:48:53 pm »
have you installed php extension mbstrings?

Fill

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: [1.7-RC] [1.7-b2] UTF-8 support problems.
« Reply #3 on: May 12, 2010, 06:19:06 am »
cabeza, yes.

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
Re: [1.7-RC] [1.7-b2] UTF-8 support problems.
« Reply #4 on: May 12, 2010, 12:08:03 pm »
Have you tried it in a different server environment?

Fill

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: [1.7-RC] [1.7-b2] UTF-8 support problems.
« Reply #5 on: May 12, 2010, 03:27:17 pm »
cabeza, tried OpenBSD 4.6 with mysql-server 5.0.51. Same problem there :(

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
Re: [1.7-RC] [1.7-b2] UTF-8 support problems.
« Reply #6 on: 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 ?

Fill

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: [1.7-RC] [1.7-b2] UTF-8 support problems.
« Reply #7 on: 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.

Fill

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: [1.7-RC] [1.7-b2] UTF-8 support problems.
« Reply #8 on: May 14, 2010, 12:26:06 pm »
Same problem in 1.6.2.

alvarotm01

  • Administrator
  • Sr. Member
  • *****
  • Posts: 335
    • View Profile
    • Email
Re: [1.7-RC] [1.7-b2] UTF-8 support problems.
« Reply #9 on: 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

Fill

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: [1.7-RC] [1.7-b2] UTF-8 support problems.
« Reply #10 on: May 17, 2010, 06:18:45 am »
Faulty *.csv attached. BTW, same issue with *.vcf.

Quote
The problem in email attachments is fixed for next release.
Great news, thanks!

alvarotm01

  • Administrator
  • Sr. Member
  • *****
  • Posts: 335
    • View Profile
    • Email
Re: [1.7-RC] [1.7-b2] UTF-8 support problems.
« Reply #11 on: 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

Fill

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: [1.7-RC] [1.7-b2] UTF-8 support problems.
« Reply #12 on: May 17, 2010, 02:53:15 pm »
alvarotm01, thanks!

Fill

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: [Solved][1.7-RC] [1.7-b2] UTF-8 support problems.
« Reply #13 on: May 19, 2010, 01:02:10 pm »
Everything works in 1.7RC2.  :D

 

anything