Adding codepage to the XML file did the trick! Iso-8859-1 worked just fine!
Thanks a lot! /Pär On 20 Apr, 08:57, Alexey Smirnov <[email protected]> wrote: > Hi, > > > But if I try to use åäö in the text for the items in the timeline, I > > still get the error... > > I see. Try to add codepage info into your html as follows: > > <style> > @charset "Windows-1251"; > </style> > > Use appropriate charset. Another thing that you can try is adding > codepage to your XML file: > > <?xml version="1.0" encoding="UTF-8"?> > > Again, use the appropriate encoding. > > If this is still not working then give me the URL of your example. > > Alexey > > > > > > > I've been looking in the documentation if there is anything I could > > write in the xml-file with the events to get it localized, but haven't > > found anything. > > > /Pär > > > On 19 Apr, 09:29, Hipshot <[email protected]> wrote: > >> Couldn't get that to work. Maybe I missed something, this is how I > >> have it: > > >> meta http-equiv="Content-Type" content="text/ > >> html;charset=UTF-8" /> > >> <script>Timeline_urlPrefix = "http://static.simile.mit.edu/ > >> timeline/api-2.3.0/";;</script> > > >> <script src="http://static.simile.mit.edu/timeline/api-2.3.0/ > >> timeline-api.js?bundle=true" type="text/javascript"></script> > > >> <script src="http://api.simile-widgets.org/timeline/2.3.1/ > >> timeline-api.js?forceLocale=se" type="text/javascript"></script> > > >> I tried using the ASCII HTML-number in the xml-file (å = å), and > >> that worked! But it would still be nice to be able to use åäö > >> directly. > > >> Regards, > > >> /Pär > > >> On 16 Apr, 12:44, Alexey Smirnov <[email protected]> wrote: > > >> > Hi Pär, > > >> > If you want to localize timeline you can use a forceLocale parameter as > >> > follows: > > >> > <script > >> > src="http://api.simile-widgets.org/timeline/2.3.1/timeline-api.js?forceLoc..." > >> > type="text/javascript"></script> > > >> > You can get the list of supported locales here: > > >> >http://www.google.com/codesearch/p?hl=en#Lhpgg-dZ4PI/timeline/trunk/s... > > >> > Alexey > > >> > On Thu, Apr 15, 2010 at 10:18 PM, Michiel <[email protected]> wrote: > >> > > Hi, > > >> > > No solution, but if you look at > >> > >http://www.microformats.dk/simile/vejrrekorder/vejrrekorder.html > >> > > you see a timeline with placenames in Danmark of which some have non- > >> > > ascii characters (in my screen is now Sonderborg where the first o is > >> > > not an o but an o with a slash through it). So perhaps the error is > >> > > generated by something else. > > >> > > Michiel > > >> > > On Apr 15, 11:01 am, Hipshot <[email protected]> wrote: > >> > >> Hi! > > >> > >> I'm testing the timeline using the "Getting started" section, and it > >> > >> works fine. Except for when I use å, ä and ö anywhere in the displayed > >> > >> text. Then I get an error: > > >> > >> "Caught exception: undefined > > >> > >> Details: TypeError: D is null" > > >> > >> Is there a way to localise the timeline? > > >> > >> Regards, > > >> > >> /Pär > > >> > > -- > >> > > You received this message because you are subscribed to the Google > >> > > Groups "SIMILE Widgets" group. > >> > > To post to this group, send email to [email protected]. > >> > > To unsubscribe from this group, send email to > >> > > [email protected]. > >> > > For more options, visit this group > >> > > athttp://groups.google.com/group/simile-widgets?hl=en. > > >> > -- > >> > You received this message because you are subscribed to the Google > >> > Groups "SIMILE Widgets" group. > >> > To post to this group, send email to [email protected]. > >> > To unsubscribe from this group, send email to > >> > [email protected]. > >> > For more options, visit this group > >> > athttp://groups.google.com/group/simile-widgets?hl=en. > > >> -- > >> You received this message because you are subscribed to the Google Groups > >> "SIMILE Widgets" group. > >> To post to this group, send email to [email protected]. > >> To unsubscribe from this group, send email to > >> [email protected]. > >> For more options, visit this group > >> athttp://groups.google.com/group/simile-widgets?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "SIMILE Widgets" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/simile-widgets?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "SIMILE Widgets" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/simile-widgets?hl=en. -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
