NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Ubaidullah on November 22, 2020, 10:10:41 AM

Title: XHTML - AsciiToUTF and nbsp
Post by: Ubaidullah on November 22, 2020, 10:10:41 AM
Hi Bruce,

I have some code in the XHTML tab of a NetWebForm. The code contains " " in a few places to get the height of some elements correct.

But, the form does not display. If I remove the " ", the form displays correctly.

It seems that the call to AsciiToUTF in the generated code does not like " ".

Please advise how to embed " " in my XTHML code.

Regards,
Ubaidullah Nubar.
Title: Re: XHTML - AsciiToUTF and nbsp
Post by: DonRidley on November 22, 2020, 06:19:22 PM
  is an Named Character Reference for a non-breaking space.  It is one of many HTML entities.

Try   in its place. 

  is a Numeric Character Reference (decimal) for a non-breaking space.  Interestingly, there is a HEX version as well:   

Your form should display properly with   .

See ya.

Don
Title: Re: XHTML - AsciiToUTF and nbsp
Post by: Ubaidullah on November 22, 2020, 10:44:10 PM
Thanks Don.

That worked well.

Regards,
Ubaidullah Nubar.