Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I found a weird character in a comment when I was reading the code.
î
Turns out it's an:
î
Patch to follow.
Comment | File | Size | Author |
---|---|---|---|
#3 | commerce-i_not_i-1599336-03.patch | 1.9 KB | vasike |
#1 | commerce-i_not_i-1599336-01.patch | 642 bytes | bendiy |
Comments
Comment #1
bendiy CreditAttribution: bendiy commentedPatch attached.
Comment #2
Damien Tournoud CreditAttribution: Damien Tournoud commentedThere are two others like that: in commerce_line_item.module and commerce_product_reference.module (probably copy/paste of an original typo).
Also, if you are not seeing
î
properly here, it means that your editor is not configured properly.Comment #3
vasikei can confirm the other cases, pointed by Damien.
and here is the patch
Comment #4
rszrama CreditAttribution: rszrama commentedFunny. And re: what Damien said about your IDE, make sure you're viewing files with the UTF-8 character set (though in this case it helped you find the problem to not be).
Comment #5
bendiy CreditAttribution: bendiy commentedThanks for the tip. Encoding was set to "Cp1252".