• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Bear Bibeault
  • paul wheaton
Saloon Keepers:
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Mikalai Zaikin
  • Piet Souris
Bartenders:

Getting rid of special characters in TOAD commands

 
Ranch Foreman
Posts: 759
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have SQL commands stored in JIRA.   I copy them to TOAD and get formatting errors.  
I examined the SQL and it contains hidden characters that look like CTRL+248.  

I clean up the SQL in MS Word with the hidden characters turned on and then copy into TOAD.

Is there a way to use the TOAD automation to edit the place where SQL is entered?   I see there is  a find and replace choice but I don't know how to look at the TOAD edit area through code.

Thanks,

Kevin
 
Marshal
Posts: 4351
559
VSCode Eclipse IDE TypeScript Redhat MicroProfile Quarkus Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You mention CTRL+248 - is that the degrees character ° ?

 
kevin Abel
Ranch Foreman
Posts: 759
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It looks like the degrees character to me.  I'm not sure if is that one.  I know 248bis the degree character.
Thanks,
Kevin
 
kevin Abel
Ranch Foreman
Posts: 759
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It could be
ALT+ 0176
ALT+248
UT 0020:SPACE[SP]

The first two did not work in options.

I don't know how to do this the third way.

It may be possible with a regular expression but I'm not sure how to do that.

Thanks,

Kevin
 
kevin Abel
Ranch Foreman
Posts: 759
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I keep finding more information on the find and replace topic.

The feature in TOAD only works when typing.  It does not automatically work during cut and paste.

Kevin
 
Ron McLeod
Marshal
Posts: 4351
559
VSCode Eclipse IDE TypeScript Redhat MicroProfile Quarkus Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could it be similar to the issue described in this Microsoft support forum thread, where the browser-based source is using a non-breaking space character (xC2A0) instead of a regular space character (x20)?
 
And when my army is complete, I will rule the world! But, for now, I'm going to be happy with this tiny ad:
Low Tech Laboratory
https://www.kickstarter.com/projects/paulwheaton/low-tech-0
reply
    Bookmark Topic Watch Topic
  • New Topic