You are viewing the PKP Support Forum | PKP Home Wiki

Cut and Paste Issues [RESOLVED]

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Cut and Paste Issues [RESOLVED]

Postby warrior1 » Wed Feb 13, 2008 1:55 pm

When attendees submit their information, papers, reviews, etc., everything goes well when they type the information and when they attach files. If the user copies and pastes information from elsewhere into one of the text boxes, they receive the following error messages:

Notice: iconv() [function.iconv]: Wrong charset, conversion from `UTF-8' to `ASCII//TRANSLIT' is not allowed in /var/apache2/htdocs/ocs/classes/core/Transcoder.inc.php on line 28

Warning: Cannot modify header information - headers already sent by (output started at /var/apache2/htdocs/ocs/classes/core/Transcoder.inc.php:28) in /var/apache2/htdocs/ocs/classes/template/TemplateManager.inc.php on line 250

It does not matter if the text was originally in some word processing format or just copied and pasted from a simple text file.

My first response is to tell them not to copy and paste. Problem solved. But if there is something I can do easily to fix the situation, I will. Any suggestions?

Posts: 2
Joined: Tue Feb 12, 2008 9:05 pm

Re: Cut and Paste Issues

Postby jmacgreg » Thu Feb 14, 2008 11:32 am

Hi warrior1,

You may be encountering a bug that affects how encoding is being handled. This is a known issue with OCS 2.0.0-1, and will be fixed in the next version. In the meantime, there is a patch you can apply to fix this
problem, which you can download here:


You may also want to take a look at the following forum posts as well:


Please let me know if you encounter any further problems, or if this doesn't solve your current one.

Posts: 4191
Joined: Tue Feb 14, 2006 10:50 am

Re: Cut and Paste Issues

Postby warrior1 » Thu Feb 14, 2008 6:33 pm


While the patch was a little more involved than I thought it would be, it worked perfectly.

Thanks for all of your help!
Posts: 2
Joined: Tue Feb 12, 2008 9:05 pm

Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 1 guest