• Resolved todaro

    (@todaro)


    Dear experts,

    Referring to the following topic:

    https://www.ads-software.com/support/topic/91201?replies=10

    I’ve reached that thread seaching for help with the same problem.

    I need to accentuate words on messages embeded within PHP code.

    I first tried editing the PHP files using my usual HTML editor (AceHTML Free), which deals OK with file encoding (I think – at least it recognizes the PHP file as UTF-8 on opening).

    But my first simple test failed. Please go to https://applemania.info/?page_id=25 , scroll down to the end and locate the phrase “WP-forum por Fredrik Fahlstad, vers?o: 1.7.4”

    That word “vers?o” should be “vers?o”.

    Then I tried using Windows NotePad (it saves on UTF-8) to edit the file but after the upload it gets me the following error on ALL pages:

    “Warning: Cannot modify header information – headers already sent by (output started at /home/mania/public_html/wp-content/plugins/wp-forum/wp-forum.php:1) in /home/mania/public_html/wp-content/plugins/wp-forum/cookie.php on line 21”

    I have no idea of what all that means.

    Could anyone give me a hand please?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • moshu

    (@moshu)

    In the first case you did NOT save the file with utf-8 encoding.
    In the second case you left a blank line or space before the starting
    <?php...
    or the closing
    ?>
    Check all those files mentioned in the error (+ more if needed)
    https://codex.www.ads-software.com/FAQ_New_To_WordPress#How_do_I_change_my_header.3F

    Thread Starter todaro

    (@todaro)

    Could you suggest me a simple text editor for Windows that effectively saves files in UTF-8?

    BTW, no, there wasn’t blank lines or spaces before and after the code on any of the riles specified on the error message as there still isn’t. Even so I keep getting the error everytime I save the PHP file with NotePad set to UTF-8

    Thanks!

    Thread Starter todaro

    (@todaro)

    Never mind. I found the way myself.

    Thanks anyway…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘New accents problem’ is closed to new replies.