473,796 Members | 2,742 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Bringing foreign letters to textarea

I like to make foreign letters to appear in the textarea. For
instance, when typing the letter 'a' on the keyboard, the Japanese
letter &#+12449; would appear in the textarea.

Could somebody insert a simple code in following program? I will
follow suit from there.

<style>
body { font-family:arial;}
textarea { font-family:"lucida sans unicode"; }
</style>
</head>

<body>
Type in following area:
<form name='myform'>
<textarea name='mytext' rows='15' cols='60'>

</textarea>
</form>
</body>

The form is in:
www.pinyinology.com/keys/aform.html

Thanks.

Aug 27 '05 #1
1 1954
dalei wrote:
I like to make foreign letters to appear in the textarea. For
instance, when typing the letter 'a' on the keyboard, the Japanese
letter &#+12449; would appear in the textarea.

Could somebody insert a simple code in following program? I will
follow suit from there.


The scripting part is relatively simple, it probably requires a 'keyup'
event to re-map characters. To get the information you require, ask
this in an HTML forum to find out about displaying characters in a
textarea element.

You are probably better changing your subject to 'Writing Japanese
characters in a textarea', since the concept of 'foreign letters' has no
useful meaning in this context.

[...]
--
Rob
Aug 28 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
8213
by: Toffe | last post by:
Hi, I've got a problem with regular expressions and strings containing Swedish characters (åäö). I basically have a PHP script that highlights certain words in a text. I found the code attached below in the commented manual at php.net. It works great for all words that do not contain Swedish characters. The words that do contain åäö will not be highlighted.
12
11450
by: Smash | last post by:
i have this function: ------------------------------------------------------------ function isAlfaNumeric(vnos,space) { if (space==false) { validRegExp = /^{0,}$/; } else { validRegExp = /^{0,}$/; }
3
2609
by: dalei | last post by:
Is there a way to have non-English letters and symbols, such as the Greek letters or copyright sign, to appear in the box of alert()? Or is the alert () also available to people with other writing systems? I tried with such as &delta;. It didn't display. This question is also for the prompt (). Thanks.
1
3106
by: James E | last post by:
I have a question about best practices of how to deal with lookup data from my C# apps. On a couple of occasions I have come across a problem where I have to automate inserting a record into a table that has a foreign key constraint that is linked to a lookup table. E.g. Take the following database structure: SQL-Server Database: Table 1:
23
3156
by: gregf | last post by:
I have a paragraph of text pasted into a word document, it's in Polish, complete with polish characters. They show up just fine in word, but the program I use for web page programming, HomeSite, won't translate it. When I paste the text into the code, the special characters are missing. If they would show up there I could use the Replace Special Characters feature to change it to the proper code, but it won't even paste into it...
0
1091
by: Daylor | last post by:
hi. i use the function the ms publish,to convert Managed String to Char * . with english string it works ok. now, i have problem, when for example ,im try to convert a path to file , when the file name is in HEBREW letters. the result i get it the conversion till the foreign fonts.
2
2055
by: Calvin Lai | last post by:
Hi all, I have a serious problem with the application I am developing. The language I used are mainly English, and some Chinese. (But I guess this problem happens accross different language). In web.config, my Request/Response encoding are set to "iso8859-1" (which I have no idea what is shd be at all). For each request, I handled and added Response.CharSet = "big5" in the Global.aspx.cs.
6
1203
by: Jerome | last post by:
Hi, I've made an input page in asp.net and the records are saved BUT without the 'foreign letters' like é, ä, ü and so on!? What could be the problem? My SQL database accepts these letters without problems, so it has to be asp.net who deletes them while inserting the record into the SQL database. The field in the database is defined as varchar(250).
1
1212
by: Trond Engebråten | last post by:
The typical foreign letters in the text file I read are missing. Has it something to do with the declaration of the file? Dim sr As StreamReader = File.OpenText("c:\MyFile.txt")
0
9685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9535
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10244
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10021
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5454
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5582
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4130
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2931
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.