I understand that Unix and Mac each use one or other of Chr(13) and
Chr(10) for newlines in ASCII text, and that Windows uses *both* in
conjunction.

I'm basically trying to parse some text input through a textarea, and
I'm wondering a couple of things:

1. If Windows uses Chr(13)&Chr(10) for a new line, why does only one
'hidden character' show up for new lines if you turn this feature on in
a Windows text editor?! Does all Windows software read this combination
of ASCII codes as "one" character? If you're checking the length of a
textarea input, does each new line add two bytes, or what?!

2. If I'm coding all this for a CF app, does it make a difference to the
server-side code if the user uses a Mac to use the site and input text?
What if the server's Unix?

3. How many people have gone totally insane trying to figure out the
answers to these questions?! ;)

cheers,

- Gyrus

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
- PGP key available
~~~~~~~~~~~~~~~~~~~~~~~~~~~~


______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to