frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register
Hello m'Managerians !
What do you think m'Manager 2.0 should be ? What features SHOULD or MUST be implemented right now ! Request or Vote here

Cannot import clients with åäö

When importing clients with nordic letters, they get the wrong encoding.
Tagged:

Comments

  • Hi,
    Thanks for posting here. I will try to reproduce the issue. Stay tuned
  • Hi, can you try this fix ?

    Open application>helpers>mm_standalone_helper.php and paste this code à the end of the file

    if ( ! function_exists('replcSpecChar')) { function replcSpecChar($string){ $string = str_replace("æ", "æ", $string); $string = str_replace("ø", "ø", $string); $string = str_replace("å", "å", $string); $string = str_replace("Æ", "Æ", $string); $string = str_replace("Ø", "Ø", $string); $string = str_replace("Å", "Å", $string); return $string; } }

    Then open application>modules>upload>controllers>Upload.php and locate public function upload_csv() and go to case 'customer': and edit name_company to look like this 'name_company' => replcSpecChar($value['name_company']),

    Then try again and let me know.

    Thanks
    Eric
  • Doesn't really work for me. Get an error while importing.
    But I left it and edited the 83 clients in the database instead. Didn't take too long... :blush:

    So, "bug" still there for us who wants to import clients with nordic letters.
  • Ok. Can you send me one or two demo name so I test ?
    Thanks
Sign In or Register to comment.

m'Manager

| Let's Build Together a Great App !
If you are a happy user, send me a coffee.
2015 - 2107 © m'Manager.
Powered by VanillaForums, Designed by ThemeSteam

Recent Donations

  • Joni Mueller from https://pixelita.com/ - 63€
  • HeyrmanD from https://locco-palace.be - 25€
  • Patricia from Sjopz.com - 10€
  • AskinSavascisi from wolftech.com - 3€
  • Get In Touch