The file supported/location.pt.inc contains an invisible Byte Order Marker (BOM) before the leading <?php tag that can cause problems with Services, Webform or any other page that includes it.

You can view these characters with the command (the first 3 before the <?php appears):

$ od -ah supported/location.pt.inc | head -2
0000000   ?   ?   ?   <   ?   p   h   p  nl  nl   /   *   *  nl  sp   *
             bbef    3cbf    703f    7068    0a0a    2a2f    0a2a    2a20

For reference and discussion, refer to Duplicate_Role: Module file has BOM (byte order mark) at beginning of file for a similar issue in the Duplicate_Role module.

The attached patch removes these characters from the file (even though they may not be visible in the patch file visually). After the applying patch you should see the BOM removed:

$ od -ah supported/location.pt.inc | head -2
0000000    <   ?   p   h   p  nl  nl   /   *   *  nl  sp   *  sp   @   f
             3f3c    6870    0a70    2f0a    2a2a    200a    202a    6640
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

diamondsea created an issue. See original summary.

diamondsea’s picture

Patch to remove BOM characters

diamondsea’s picture

Status: Active » Needs review
diamondsea’s picture

Issue summary: View changes
legolasbo’s picture

Retesting to see if the patch still applies correctly

jacob.embree’s picture

Status: Needs review » Reviewed & tested by the community

#2 indeed removes the BOM.

diamondsea’s picture

Do you require any additional confirmation to commit this?