Results 1 to 4 of 4

Thread: problem with characters as ñ or accents

  1. #1
    garciasanchezdaniel's Avatar
    garciasanchezdaniel is offline Sugar Community Member
    Join Date
    Aug 2011
    Location
    Spain
    Posts
    403

    Arrow problem with characters as ñ or accents

    Hello
    I have upgraded sugarcrm v4.2.1d to v6.1.7 and after this, I have installed spanish package, and now I some characters are displayed as the attachment...how can I fix this? thanks in advance
    Attached Images Attached Images  

  2. #2
    rafael.q.g@hotmail.com's Avatar
    rafael.q.g@hotmail.com is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Florianópolis - Brazil
    Posts
    782

    Default Re: problem with characters as ñ or accents

    Ofen when I have this kind of problem it is caused by some of my customizations. Then usually I add some of the follow functions to fix that:

    header('Content-Type: text/html; charset=utf-8');
    mysql_query("SET NAMES 'utf8'");
    mysql_query('SET character_set_connection=utf8');
    mysql_query('SET character_set_client=utf8');
    mysql_query('SET character_set_results=utf8');
    Rafael Queiroz Gonçalves
    Advanced OMG UML Certified Professional
    Sun Certified Enterprise Architect for the Java Platform
    Sun Certified Programmer for the Java 2 Platform
    IBM Certified Advanced Application Developer - Lotus Notes and Domino
    IBM Certified Application Developer - IBM WebSphere Portlet Factory
    Computer Science Mastering / UFSC - PPGCC

  3. #3
    garciasanchezdaniel's Avatar
    garciasanchezdaniel is offline Sugar Community Member
    Join Date
    Aug 2011
    Location
    Spain
    Posts
    403

    Default Re: problem with characters as ñ or accents

    where do you add these functions?

  4. #4
    rafael.q.g@hotmail.com's Avatar
    rafael.q.g@hotmail.com is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Florianópolis - Brazil
    Posts
    782

    Default Re: problem with characters as ñ or accents

    You could add this functions in any of your custom files. As I mentioned I usually have this kind of issue when I have customizations. Thus in any file which your have your own php code, this lines could be included. Just add them and test sugar to check its result.
    Rafael Queiroz Gonçalves
    Advanced OMG UML Certified Professional
    Sun Certified Enterprise Architect for the Java Platform
    Sun Certified Programmer for the Java 2 Platform
    IBM Certified Advanced Application Developer - Lotus Notes and Domino
    IBM Certified Application Developer - IBM WebSphere Portlet Factory
    Computer Science Mastering / UFSC - PPGCC

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Problem with accents, charset, db mssql
    By comas17 in forum Help
    Replies: 15
    Last Post: 2011-11-17, 09:54 AM
  2. Problem in exporting Thai characters
    By Poonam Shrestha in forum Help
    Replies: 0
    Last Post: 2010-12-17, 03:25 AM
  3. Replies: 0
    Last Post: 2009-02-20, 03:38 PM
  4. Problem with accents, bug?
    By chackos in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2007-08-15, 03:26 AM
  5. Problem importing non-latin characters
    By bobx11 in forum Help
    Replies: 0
    Last Post: 2005-06-23, 03:53 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •