Link to home
Start Free TrialLog in
Avatar of jvoros1
jvoros1

asked on

Saving Bullets to SQL Server 2000

Hello Expert,
I was wondering if you can help me I have a JSP page and on it I have a textarea, and lets say the user enters data in like

Southern Ontario's largest conference for early childhood education practitioners, administrators and future professionals takes place at the Doon campus of Conestoga College in Kitchener on March 26-27.

Is this Titled Early Childhood ? . . . Where It All Begins, the event is sponsored by kidsLINK Preschool Support Services, the Region of Waterloo Children's Services Division and the Early Childhood Education program of Conestoga College.
•      One
•      Two
•      Three
It saves to the sql server as
Is this Titled Early Childhood ? . . . Where It All Begins, the event is sponsored by kidsLINK Preschool Support Services, the Region of Waterloo Children's Services Division and the Early Childhood Education program of Conestoga College.
?      One
?      Two
?      Three
My problem is the bullets it changes them to question marks I want them to stay as bullets any suggestions as to why it is doing this?
Thanks
ASKER CERTIFIED SOLUTION
Avatar of kennethxu
kennethxu

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mick Barry
The ? typically represent a character that the font being used cannot display.
You need to check the actual byte value being inserted in the database to check if the problem is there, or just that whatever is displaying it does is using a font where that value is undefined.
Avatar of kennethxu
kennethxu

the ? occurs when java try to convert a character from on charset to another. either the character is not in target charset or the charset in choose is wrong.
> either the character is not in target charset or the charset in choose is wrong.

ie. it cannot be displayed by the font being used :)
it's already converted to ? in the server end, has nothing to do with the font!
as least it was the situation that I have experienced under exactly same environment. user copy and paste content from word document.
> it's already converted to ? in the server end, has nothing to do with the font!

You have no way of knowing that, thats why I suggested checking what byte value was actually stored in the database to determine exactly where the problem was manifesting itself.
Try inserting just a bullet and see what goes in the db.
>> You have no way of knowing that,
Asker already said in the question:

It saves to the sql server as
.....
I asked what *byte* values are saved to the database, how the string displays is irrelevant.
And I also asked jvoros1 not you, so please stop being so argumentative.
objects, YOU was the one that started all the arguments. In this thread and all other threads!
>>And I also asked jvoros1 not you,
who's one started to make such comment:

Comment from objects
Date: 03/24/2004 08:35PM PST
 Comment  


> either the character is not in target charset or the charset in choose is wrong.

ie. it cannot be displayed by the font being used :)

 
Avatar of jvoros1

ASKER

Thanks I have it working :)
glad to know it's working :)
For the benefit of others reading this question in the furure please post what you changed to fix it.