Correction : if I manually put an accent in a name then export to csv…
Hello,
This may happen due to utf8 not encoding from the server. So, for this open code file, wp-content/plugins/armember-membership/core/clasess/class.arm_members.php file at line number 2228 comment it below code:
$users_array[ $count_row ][ $key ] = htmlspecialchars($fdvalsanitizearr_key , ENT_NOQUOTES );
and uncomment 2229 line which contain below code:
$users_array[ $count_row ][ $key ] = htmlspecialchars( mb_convert_encoding( $fdvalsanitizearr[ $key ], ‘UTF-8’ ) );
Same process for the line number 2290 and 2291. After that, upload the CSV file again and let me know how it goes.
Thanks
Thanks dimplemodi. I did what you suggested and it worked. I was able to import correctly with French accents.
Now the question becomes : what will happen when the plugin gets automatically updated? Will I have to re-do the same change every time?
–Normand
Hello,
Glad to hear that the provided solution worked for you!
Regarding your query about updating the plugin, please note that the import users process is one-time, so if you need to import users frequently, you may need to change the code file.
Please let me know if there is anything else.
Thanks