How to show ₹ symbol in GNUCash? - gnucash

In GUNCash INR currency symbol is showing by a question mark('?').
How to show ₹ symbol in this ?
USING Version: 2.6.18
Windows: 8.1 Pro

I got the temporary solution for this.
Go to Tools --> Security Editor --> Currencies
Just put the symbol '₹ ' along with a space.
If you put only '₹' symbol, it will become '?' symbol after save.
May be it is an issue, and should be logged here...
https://github.com/Gnucash/gnucash

Related

Spaces in wikimedia templates

I'm working on a MediaWiki-generated Wiki, and want to build a template that would link me to a French Wikipedia article. I have this :
[http://fr.wikipedia.org/wiki/{{{1|}}} {{#if:{{{2|}}}|{{{2|}}}|{{{1|}}}}}]
Logic being :
{{Wpfr|article name|alternate name (if needed)}}
Thing is, if the article name has spaces in it, it breaks, keeping the first word as {{{1}}} and putting the rest in {{{2}}}.
I'd like to find a way to be able to use spaces in {{{1}}} without breaking the links. That way :
{{Wpfr|Greg Weisman}}
would automatically link to the article on Greg Weisman and display "Greg Weisman".
I've tried using :
[http://fr.wikipedia.org/wiki/{{{art|}}} {{#if:{{{2|}}}|{{{2|}}}|{{{art|}}}}}]
{{Wpfr|art=article name}}
(even replacing the 2s by 1s) to no avail.
The Wiki admin part hasn't been updated in a while so the Interwiki table can't be updated and I can't use the "replace" function either.
I'm new to Wikicoding, so I'm sorry if the answer is very simple.
Thanks !
Edit : the MediaWiki version is 1.13.5
Mediawiki has a magic word for handeling encoding of url:
{{urlencode:data|style}}
{{urlencode:Greg Weisman|PATH}} will return:
Greg%20Weisman
Change your template with:
[http://fr.wikipedia.org/wiki/{{urlencode:{{{1|}}}|PATH}} {{#if:{{{2|}}}|{{{2|}}}|{{{1|}}}}}]

Weblog comment error

I am using Weblog for blog functionality. Now I am facing one problem. I have created one Entry with name like 'sitecore-mvc', now when I am going to submit a comments it is giving me error 'End of string expected at position 39' if I changed Entry name like 'sitecoremvc' it works fine. There is some problem when I use '-' in Entry name. Any how I want to use '-' in url. Please give me solution.
If you look at the issues in GitHub for Weblog this is a known issue.
See this link for a solution:
https://github.com/WeTeam/WeBlog/issues/52
You should be able to swap out the DuplicateSubmissionGuard pipeline processor to a custom implementation that escapes hyphen characters in the path.

Sitecore 7.2 Media Library images not working with underscore in the name

I just upgraded a client's test installation of Sitecore to 7.2 (SP1) and now, any image that has an underscore in its name is throwing a 404 error when being referenced by a page. This was actually a series of upgrades from 6.4 so it's quite possible that a config setting somewhere got missed along the way, but I don't see anything standing out at me that would cause this problem.
If I change the image name to not have an underscore, it works fine, and it also works fine if I set "Media.UseItemPaths" to false, but they would prefer it if their image URL's had the file name displayed.
Can anyone help identify what may have gone wrong?
Due to a change in Sitecore 7.1, any replacements specified in encodeNameReplacements are now also applied to media items as well as regular items in the content tree.
One option is to remove the replaceWith="_" declaration, but the likely reason this was added was to possibly replace spaces in your URLs so they do not display with %20. Removing this declaration will mean they return!
You can instead apply the fix specified in this Sitecore Knowledgebase article: Sitecore is unable to open media items when using encodeNameReplacements

Strange symbol appears in GtkTreeView

I am writting log viewer with GTK for Windows. I use GtkTreeView widget to display log records. It contains 3 columns: date & time, event source, event text. For any reason, in event time column strange symbol appears:
I used debugger watch window to see string value, and it doesn't contain any extra characters that can result in this strange symbol appearence.
What are possible reasons of such tree view behavior?
All text used in Gtk+-2.0 widgets needs to be in UTF8 encoding.Text in plain ASCII is automatically valid UTF8, but as soon as you have special characters that do not exist in plain ASCII (usually characters that are not used in the English language alphabet), they need to be in UTF8 encoding.Otherwise you may get what you are getting now.
This is something weird but gtk use to have this problem if you do not use glib library functions. You need to handle all of the strings with this functions. This could be a rendering issue.
for paths you use g_path_get_basename(path);
for dirs you use g_path_get_dirname (path);
for date and time use some of this docs gtk date and time
so it can be displayed properly in the treeview

Mediawiki create a template for external linking

Some mediawikis are using a template or something like that to create twitter links in articles without the external link icon.
For instance in http://www.minecraftwiki.net/wiki/Mojang_AB each employee has a twitter link, this is not just an external link to twitter.com, but like [twitter:notch|#notch] in the source.
Does anyone know how I can add this feature to my mediawiki?
If you just want to remove the external link icon, you can wrap the link in <span class="plainlinks">, like this:
<span class="plainlinks">http://stackoverflow.com/</span>
or even
<span class="plainlinks">[http://stackoverflow.com Stack Overflow]</span>
A template for creating links to Twitter user pages might look something like this:
<includeonly><span class="plainlinks twitterlink">[https://twitter.com/{{{1}}} #{{{1}}}]</span></includeonly>
or, with the extension StringFunctions installed (to allow for input both with and without the # sign):
<includeonly><span class="plainlinks twitterlink">[https://twitter.com/{{#replace:{{{1}}}|#|}} #{{#replace:{{{1}}}|#|}}]</span></includeonly>
Those links are called Interwiki links and you can add them to your wiki by inserting into the interwiki table.
You might find these sites interesting:
http://www.mediawiki.org/wiki/Extension:Twitter4wiki
http://www.mediawiki.org/wiki/Extension:TwitterFeed