I use Durandal for my website (http://cuoidiku.com/).
It's contain alot of funny story in homepage, when I click to title of story, I want to bind this content to document.title. It works, but the unicode show not correct. A lot of special symbol there (such as và...).
I google and found some suggestion is adding \u before specical symbol, But in my case, this title from database, and I cannot detect where specical symbol is?
Please help me to fix this.
Related
I'd like to minimize the number of times I have to type dates and version numbers across release notes pages and such on Confluence.
How can I reuse a text string within the same page as well as across pages on Confluence?
Right now, I have a bit of text (for example, a version number) which is typed out in multiple locations:
Page A
Top of page
Middle of page
End of page
Page B
I'd like to be able to type the value once and have it automatically appear in all places.
There are multiple bits of text I'd like to do this with on one page.
The closest I've found so far is the MultiExcerpt macro, but unfortunately it displays all content with newline wrapping instead of inline and that's a dealbreaker for me.
You may want to look into Comala Metadata, sounds like what you are looking for.
Disclaimer, I work in the company behind that app, in Comalatech.
Regards,
Gorka
Have you tried using Confluence own Include Macro or the Excerpt Macro. The include macro can be inline if you keep it on the same line in the editor.
There is an official extension called Multi Excerpt. It works like Excerpt, but you can use more then one for one page.
I have a situation where I want to open a website by clicking a desktop icon. I found AppJS to be the answer. I created an app with just a full window covering iframe. The only problem I am facing is, Unicode characters are not shown properly (all I see is boxes in place of text). I could not understand where should I look for. Please, give me some pointers. or maybe an alternative to fulfill the original purpose.
Thanks in advance
I am starting with jekyll and i'll appreciate any kind of help.
I am making a blog site but not in english language.
Default language will be Czech so in post tittles there will be characters like ĚŠČŘŽÝÁÍ.
I want to use pretty permalinks with post tittle in it, but actualy it doesn't work
properly in Safari browser. I am getting error 500 from server.
How to resolve it? Is there any plugin which can convert these characters in ascii symbols escrzyai and how to install it?
I believe permalinks are determined by settings + post file names, not settings + post titles.
So you should have files names like
_posts\2014-04-12-hello-world.md
instead of
_posts\2014-04-12-je-každoročně-tak-veliký.md
Inside the post, you can still use post title in Czech.
Permalinks' documentation is here, note if you have Czech categories and you use them in permalinks, you will still get into trouble, so it's better to avoid Czech categories in permalinks.
I have my default language set as English (US) in the facebook app settings.
The "detailed description" field is filled with english language content.
In the section "Translate your app for additional languages" I have "detailed description" field with original english gray fade color text.
When I paste there the text translated into polish and trying to save it, I get the error message:
"Błąd
Oryginalne zdanie, na którym oparte jest tłumaczenie już nie istnieje.
There was a problem saving your changes. Please try again later."
which means:
"Error
Original sentence, the translation is based on doesn't exist any more.
There was a problem saving your changes. Please try again later."
The rest of the translated fields are saveable for translation, only the "detailed description" doesn't allow to save translation. Do you have any idea, what is going on. Does anyone had this kind of problem. I couldn't google any solution to this one.
I've had this kind of problem before with the translation features on FB.
Firstly - if you use completely different text for testing purposes does that save?
If you get the same error with any text at all entered it would suggest the problem is not the content by that Facebook has a bug with the system.
You can report bugs to Facebook at:
https://developers.facebook.com/bugs/
If alternative content works - try editing your content, it may be that there's a special character or similar (perhaps not even visible) that is breaking things. Pasting the text into a plain text editor like notepad and copying back out can help strip those kind of things.
I am using TTStyledText to display text with potential markup on a TTStyledTextLabel.
If text contains something like "http://stackoverflow.com" TTStyledText autogenerates the markup and linkifies said text.
The problem is I also want "www.stackoverflow.com" to appear as valid hyperlinks, as well as anything that reasonably resembles an http URL, even if the scheme is missing.
Any way to do that with TTStyleText or do I need to recognize the URL and reformat the text myself?
I've always found TTStyledText to be woefully underpowered and missing a lot of functionality. This is a good example. I think in order to make this work you'll need to as you say pre-format the text portion before you pass it in.