We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27444 ☆ A M B ☆
    • 117 Posts
    I am using MODX to get results from Stored Procedures using mssql function in snippets.

    However, I think there is a problem of character encoding when the results are being processed within the snippet.

    The character encoding of the Mssql database is Latin1_General_CI_AS.

    Anyone had a similar problem and found a solution?

    This question has been answered by sjmclean. See the first response.

      Steven James McLean
      Tech Lead
      springbokagency.com
    • discuss.answer
      • 27444 ☆ A M B ☆
      • 117 Posts
      Sorted - I was at first thinking it was a character encoding issue within MODX, but discovered it was how PHP handles a GUID returned from MSSQL.

      For anyone stumbling across this post with a similar problem, use the mssql_guid_string.
        Steven James McLean
        Tech Lead
        springbokagency.com