Skip to content

Commit 9925be3

Browse files
committed
Handle non-utf-8 characters in Luma events
1 parent df357f4 commit 9925be3

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

_data/meetups.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4922,12 +4922,12 @@
49224922
end_time: 21:00:00 PDT
49234923
url: https://www.meetup.com/ocruby/events/306604391
49244924

4925-
- name: Polish Ruby User Group - Poznań Ruby User Group - March 2025
4926-
location: Poznań, Poland
4925+
- name: Poznań Ruby User Group - March 2025
4926+
location: 60-822 Poznań, Poland
49274927
date: 2025-03-27
49284928
start_time: 18:00:00 CET
49294929
end_time: 21:00:00 CET
4930-
url: https://www.meetup.com/polishrubyusergroup/events/306703052
4930+
url: https://lu.ma/u6nh8vx6
49314931

49324932
- name: STLRuby - "Developing with AI" Show and Tell
49334933
location: Saint Louis, MO

src/events/luma_event.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ def event_location
1919

2020
location = location_parts.last(2).join(", ").strip
2121
end
22+
23+
location.force_encoding("utf-8")
2224
end
2325

2426
def event_name
25-
object.summary
27+
object.summary.force_encoding("utf-8")
2628
end
2729

2830
def event_start_time

0 commit comments

Comments
 (0)