Google Custom Search in Cyrillic - google-custom-search

I need some help with Cyrillic support. First, I do not know if it is possible but here it is what I want to do:
When typing in Google Custom Search is it possible letters to be changed automatically in Cyrillic characters? This actually should "replace" Alt+Shift function, so that user should not change his keyboard language and then start searching, but as he typing in the search letters should convert instantly.
Right now I am using "onkeyup="this.form.s.value=toCyr(this.form.s.value)" for my website and I was wondering if something similar could be done with Google Custom Search.

I don't know about replace , but google does have Phonetic typing which could be vary helpful http://www.google.com/inputtools/try/

Related

Finding the regular expressions search in jEdit

I am not a programmer, I am a book editor, and need to automate a task. I need to be able to load my entire book into a program to add <p> before every paragraph, and </p> after each one. Currently I have to go through and entire book on notepad and manually do it.
Guido Henkel in his book "Zen of eBook Programming" describes it like this:
Copy your whole book's text into the text editor.
Run a regular expressions search and replace.
Where do I go to do a "regular expression search and replace" in the jEdit program? Does jEdit need to be set up or have plug-ins installed?
The top of the search box says "find" I have the code I am supposed to use; it's just that when I opened the program, I experienced the shock of being in a strange country. Anyone help me out?
I assume you are using jEdit editor http://www.jedit.org . No plugins are needed to just replacing text by regular expressions.
Open the Search And Replace dialog via click Search in the menu bar and select Find...
Turn on Regular Expressions, put .+ to the Search for box, put <p>$0</p> to the Replace with box then press Replace All

MS Access VBA code editor character encoding and copy/paste

What is the actual encoding used in Access' VBA editor? I have been searching for a concrete answer for quite a while but with no luck.
I thought it was UTF-8 but I'm not very certain.
My main issue is that when writing a query in VBA I sometimes need to test it in Access' query editor. When copy-pasting however, I lose my native characters (greek in my case) as they turn to gibberish.
I have tried pasting in a text editor and saving it as different encodings but I can never recover the original characters.
Thanks in advance.
Edit
Let me explain this a bit further:
As you can see I can write my greek characters in the VBA editor normally:
However, copying the first line in Access' query editor, I get the following:
Same goes for a simple text editor:
So I am inclined to think that the problem lies inside the clipboard, due to the encoding used for the greek characters. I guess they are not Unicode, as I indeed have to make the change in the System Locale for non-unicode characters. So how are these characters saved/copied? In what encoding?
Answer
Actually this problem was solved by switching the keyboard input language to greek (EL), when copying the actual test string.
I am still not sure however, as to why that happens. If anyone can provide some insight into this, I would love to hear it.
Thanks again
The VBA editor does not support Unicode characters, either for input or display. Instead, it uses the older Windows technology called "code pages" to provide support for non-ASCII characters.
So, the character encoding in the VBA editor corresponds to the code page that is used by the Windows system locale as specified in the "Regional and Language Options" control panel. For example, with my system locale set to "Greek (Greece)"
I can enter Greek characters into my VBA code
However, if I switch my Windows system locale back to "English (United States)"
and re-open my VBA project, the Greek characters have changed to the corresponding characters in the new code page
If "Control Panel" -> "Regional and Language Options" -> "System Locale" is set correctly but you still suffer from this problem some times then note that while you're copying your keyboard layout must be switched to the non-English language.
This is applicable to all non-unicode-aware applications not only VBA.
Credit goes to #parakmiakos
details in this: http://www.pcreview.co.uk/forums/use-greek-characters-visual-basic-editor-t2097705.html
Looks like making sure your OS is set properly, and font choice inside the VBA editor.
I had a similar problem with Cyrillic characters. Part of the problem is solved when set the System locale correctly.
However, The VBA editor still does not recognize cyrillic characters when it has to interpret them from inside itself.
For example it can not display characters from the command:
Msgbox "Здравей"
but if the sheet name is in cyrillic characters it does it well:
Msgbox Activesheet.Name
Finally, it turned out that these kind of problems were solved when I changed to 32 bits version of MS Office.

Allow typing of non English Characters in text box

In VB.NET, I want to allow typing of non English Characters (For example, Russian, Turkish) in text box. How can I achieve this? Please let me know.
I believe richtextbox allows for that. You're talking about accents and umlauts right?
If so, I'm pretty sure if you just resize your richtextbox down to the size of your textbox then you'll be alright.
If that doesn't work try importing a language pack resource. Use MSDN for specific ones.
Hope that helped

Create slideshow from text

I would like to read text from 3 text paragraphs & use the text to create a slideshow of 3 slides - each with a paragraph programatically.
Is it possible? Do I need to use openoffice, libreoffice or something else?
I have googled a lot, but could not find any answer. Hence, posting the question on SO.
Thanks.
Openoffice has a bridge called Uno which can be used from python, java (and probably more), i.e. you can manipulate openoffice documents from an external program, it's however non-trivial to use it.
Another possibility is to use OpenOffice.org BASIC.

What kind of txtfield to use?

I am making an PM system, now I am to where you are going to type the PM.
I dont know really what to use, I don't want to use an normal fugly text field, as theres much nicer stuff out there.
Ive seen those auto expand textfields, that expands more you write? What is this called? Then there's this facebook have, which i also like. And then i have seen this "CKEdtior" stuff, which also seems pretty cool (but i wonder how the output from the CKeditor look like if you use bold, italic, etc..)
Which should I get? What i wish is nice, simple & effective.
maybe this is what you are looking for!
Depends on if you want to allow the user to put in stylized text like bold, italic, links etc. If thats the case there are many editors out there that will turn a stock text area into a full featured editor or even a limited editor. All the below editor return formatted HTML text. What you do with it is up to your app.
Try these if you want a word like editor:
xinha.webfactional.com
tinymce.moxiecode.com
ckeditor.com
www.dhtmlx.com/docs/products/dhtmlxEditor/index.shtml