Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Forum: Plugins
    In reply to: [Shashin] Shashin Error

    It works. Thank you.
    Just replacing these two lines:
    $charset = $wpdb->charset ? $wpdb->charset : ‘utf8’;
    $collate = $wpdb->collate ? $wpdb->collate : ‘utf8_general_ci’;

    for these ones:
    $charset = ‘utf8’;
    $collate = ‘utf8_general_ci’;

    Forum: Plugins
    In reply to: [Shashin] Shashin Error

    This is the code:
    // strip trailing comma and linebreak
    $sql = substr($sql, 0, -2);
    $charset = $wpdb->charset ? $wpdb->charset : ‘utf8’;
    $collate = $wpdb->collate ? $wpdb->collate : ‘utf8_general_ci’;
    $sql .= “\n)\nDEFAULT CHARACTER SET $charset COLLATE $collate;”;

    What do you mean exactly with?
    Replace the charset
    $charset = ‘utf8’;
    $collate = ‘utf8_general_ci’;

    There are no changes.

    Thread Starter lynko

    (@lynko)

    Yes, the question was if perhaps anybody know the code for doing that.

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