Support » Plugin: LeagueManager » German special characters

  • Resolved blueteck

    (@blueteck)


    Hi,
    i am writing an extension for your Leaguemanager, to update the Scores from an external Website. Everthing is working fine, just the german special character make some problems.

    Example:

    $lma = new LeagueManagerAdminPanel();
    $lma->setLeagueID( 4 );
    $lma->league = $lma->getLeague( $lma->getLeagueID() );
    $lma->setSeason( 2014 );
    echo '<br> TeamID of Eckernförder MTV Pirates I: ' . $lma->getTeamID( 'Eckernförder MTV Pirates I' );
    echo '<br> TeamID of Hamburg Sharks I: ' . $lma->getTeamID( 'Hamburg Sharks I' );

    The result is the following:
    TeamID of Eckernförder MTV Pirates I:
    TeamID of Hamburg Sharks I: 51

    So the german umlaut isnt working.
    Your method $leaguemanageradmin->addTeam adds the team correct with the ö. In the database it is stored as Eckernförder MTV Pirates I. But the getTeamID doesnt return any id.

    Any ideas or suggestions, maybe I cant see my mistake, thanks, Timo.

    https://wordpress.org/plugins/leaguemanager/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘German special characters’ is closed to new replies.