Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

£ signs change to ? in text fields

New Here ,
Aug 05, 2009 Aug 05, 2009

When I update data held in text type fields in an SQL 2005 table from textareas in dreamweaver '£' signs get converted to '?'.

This is part of a system allowing users to enter paragraphs of text to build up into letters fro printing direct from the browser.

e.g. "A surcharge of £350 is to be applied." will be changed to "A surcharge of ?350 is to be applied."

Both the PC I am using and the SQL server have their regional settings set to United Kingdom.

I added    culture="en-GB"    to the page line as follows:

<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1" culture="en-GB"  %>

This has had the effect of changing the default currency format to use £s but this does not solve the problem with £ signs inside a text field.

TOPICS
Server side applications
459
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 06, 2009 Aug 06, 2009
LATEST

I don't know much about ASP, but the £ signs being displayed as ? is an encoding issue. Your encoding is iso-8859-1, which doesn't support the £ sign. You probably need to switch to utf-8 and make sure that the insert forms and database also use the same encoding.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines