CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCase (Moderator: Dave Greenberg) »
  • Activity types with special characters doesn't work in cases
Pages: [1]

Author Topic: Activity types with special characters doesn't work in cases  (Read 410 times)

eclaw

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.5.2
  • CMS version: Joomla 3.x
  • MySQL version: 5.5
  • PHP version: 5.3
Activity types with special characters doesn't work in cases
October 19, 2014, 12:29:32 pm
I hope I can explain this problem in a comprehensive way, as english is not my native language. I have tried to search, but can't find anyone with the similar problem. But if this topic has been discussed, I would be happy to be pointed in the right direction.

I am using the Swedish letters (ÅÄÖ) when creating new activity types. After I add the activity type to a case type, all looks fine so far. BUT when I go to a case and klick on "add new activity" the special characters in the activity name has been changed. When I go back to the activity type list I notice that a new activity type has been added, which is similar to the one I added, but with the special characters replaced with other characters.

I have googled my a.. off and looked everywhere for files without utf-8 encoding... now I'm out of ideas. Anyone?
I'm adding some pics to discribe how it looks like.

totten

  • Administrator
  • Ask me questions
  • *****
  • Posts: 695
  • Karma: 64
Re: Activity types with special characters doesn't work in cases
October 20, 2014, 02:56:46 pm
Thanks. Internally, the Case Type configuration is converted to XML and stored in the DB ("civicrm_case_type.definition"). That XML is marked with encoding ISO-8859-1. If I change it to UTF-8, it seems to work.

Proposed patch with an update to the test-cases to include some non-English/UTF-8 characters.

https://github.com/civicrm/civicrm-core/pull/4411

eclaw

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.5.2
  • CMS version: Joomla 3.x
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Activity types with special characters doesn't work in cases
November 11, 2014, 11:17:23 am
Thanks! Seems to work   :D

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCase (Moderator: Dave Greenberg) »
  • Activity types with special characters doesn't work in cases

This forum was archived on 2017-11-26.