🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #768

Re: How to set JtextField character encoding?

#768
From: Lori M Olson [TeamB]
Date: Tue, 21 Dec 2004 17:53
38 lines
2312 bytes
Alexey N. Solofnenko wrote:
> Java strings are in Unicode. I think your database is not setup to store 
> Unicode characters.
> 
> - Alexey.
> 
> Bradley Kieser wrote:
> 
>> How do I determine the character encoding for a JTextField? I am 
>> reading this value to post to a database. Some symbols are not coming 
>> out correctly such as £.

Actually, there can been a lot more to it than that.  But it varies 
(this is special) according to which RDBMS you are using.  With that 
information I could give a more helpful response.

(BTW, for those ESL people out there who may be reading this, the 
comment "this is special" is meant to be sarcastic.)

-- 

Regards,

Lori Olson [TeamB]

------------

Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.

Google Advanced Newsgroup Search
     http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
     http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
     http://www.visi.com/~gyles19/fom-serve/cache/1.html
Technical Details
Message-ID: <41c86301$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41c8582c@newsgroups.borland.com> <41c859dd$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,9e7d152d0971570d
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,UTF8
Date: Tue, 21 Dec 2004 10:53:05 -0700
From: "Lori M Olson [TeamB]" <javadragon@techie.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax; CDonDemand-Dom)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: How to set JtextField character encoding?
References: <41c8582c@newsgroups.borland.com> <41c859dd$1@newsgroups.borland.com>
In-Reply-To: <41c859dd$1@newsgroups.borland.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 142.179.181.200
Message-ID: <41c86301$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1103651585 142.179.181.200 (21 Dec 2004 09:53:05 -0800)
Lines: 39
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail