Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emoji's no longer display correctly in v3.3.0 #327

Closed
feisar-uk opened this issue Oct 9, 2023 · 3 comments
Closed

Emoji's no longer display correctly in v3.3.0 #327

feisar-uk opened this issue Oct 9, 2023 · 3 comments
Assignees

Comments

@feisar-uk
Copy link

PHP Version

8.2.10

PHP date.timezone

Europe/London

ICS Parser Version

3.3.0

Operating System

Linux

Description

In v3.3.0 Emoji's in the Event SUMMARY field now display as � characters (question mark in a diamond) rather than the correct Emoji characters. Downgrading back to v3.2.1 restores the correct Emoji display.

Steps to Reproduce

Run the code below with the attached test.ics file both on v3.2.1 (and earlier) and v3.3.0 to observe the difference.

With ics-parser v3.2.1

correct-emoji

With ics-parser v3.3.0

incorrect-emoji

<?php
require_once '../vendor/autoload.php';

use ICal\ICal;

try {
    $ical = new ICal('test.ics');
} catch (\Exception $e) {
    die($e);
}

var_dump($ical->events());

test.ics.zip

@u01jmg3
Copy link
Owner

u01jmg3 commented Oct 10, 2023

Confirmed that this was caused by 9df6990

@u01jmg3 u01jmg3 added this to the v2.x.x milestone Oct 10, 2023
@u01jmg3
Copy link
Owner

u01jmg3 commented Oct 10, 2023

Try v3.3.1

@feisar-uk
Copy link
Author

Working fine again now. Thank you for the speedy fix. 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants