PDA

View Full Version : Encoding issues with Facebook, Twitter ? widgets


seite7
10-28-2010, 07:10 AM
Since the social bookmark feature is a little bit limited at the moment, I am trying to include the original widgets of several social networks directly into the VB templates (for example below the CMS articles).

To do that I have to submit the URL and Title of the current page.
I was trying to submit {vb:urlencode {vb:raw title}} but that will output a Latin1 encoding like “%F6” for the character “ö”, but some sites expect UTF8 (which would create “%C3%B6” for “ö”).

Is there an easy way to achieve within the templates?