Two Spaces being converted to from ascii 32,32 to ascii 160,32
Two Spaces being converted to from ascii 32,32 to ascii 160,32 when the page is
loaded by the browser.
This problem is exhibited when viewing an address page in personal data that contains
two spaces in the address field. i.e.. APT102- 102 Elm St.
We put debug traces in to display the ascii character values of the spaces before
and after the record is brought up. This debug showed that the two spaces change
from
Before: space,space or ASCII(32),ASCII(32)
After: ASCII(160) ASCII(32)
This is causing the application to display a record change warning. This occurs
on IE 5.5, 6.0, Netscape 6, but DOES NOT occur using the Opera 6 browser. For
what it's worth, the database is Non-unicode.
Forgot to add:
This is WEBLOGIC SERVER 5.1 sp 9 running on Win2k
Similar Messages
-
Convert String from ASCII to ANSI
Hi,
a command line instruction via LabVIEW function "System Exec.vi" retrieves me a string in ASCII format. Is there a function to convert string from ASCII to ANSII format? I use LabVIEW 8.5 German Installation.
Kind Regards
Christian
Test Engineering
digades GmbH
www.digades.comHallo Christian,
AFAIK there is no such in function in LabView...
But you can:
- use "Search and replace string" to search for ASCII chars and replace them by their corresponding ANSI char, do this in a loop for all chars to be replaced (acceptable speed for small strings...)
- convert the string to an U8 array and use a lookup table to convert all bytes from ASCII to ANSI, convert back to string (may be faster for long strings...)
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
Raw files from second camera being converted to JPEG first.
I started using two cameras recently. My raw files from the Rebel T2I upload as raw files which is great. But my raw files from the Rebel XS are being converted to JPEG when uploaded. How do I correct this? I want the raw files to upload.
Or the camera is shooting RAWJPG and LR is accidentally hiding the RAW instead of the JPGs, like it did with another camera recently. This can be diagnosed and remedied by enabling the LR setting to treat RAWJPG as separate files.
Or the camera is set to point-to-point instead of mass-storage mode for the USB (or some driver is installed and doing the same thing) and the OS or a Canon codec is converting the files to JPG on the fly as they are read from the camera. This probably can be diagnosed and avoided by using a card-reader and examining the files on the card to make sure they are raw and transferring them with Explorer or Finder to the hard-drive and doing an Add import instead of using LR to do the transfer. -
Converting a single space between sentences with two spaces.
Hi,
I'd like to convert all single whitespaces after a sentence to two whitespaces, e.g. This is a sentence! The next sentence is separated by two spaces. This would result in the conventional style of two spaces between sentences, unlike html style. I want to find either a .,?, or ! followed by one whitespace, followed by a capital letter, so: "[.|?|!] [A-Z]". Then I want to just replace this with the same thing except two spaces. If I do this:
textString = textString.replaceAll(". [A-Z]", ". [A-Z]");
it finds these matches, but it literally prints out these:
How about DeLillo[.|?|!] [A-Z] still haven't read him[.|?|!] [A-Z]r Saul Bellow[.|?|!] [A-Z] told you I like Herzog a lot...maybe
thanks for your help!
-WonYou don't want to add a space if there is already a second space. The following will turn any number of spaces after the sentence into two spaces. Note if the whitespaces include a \n\n (paragraph mark) it will turn everything into one long paragraph.
replaceAll("([\\.\\?!])\\s+", "$1 "); -
How do we convert the Extended ASCII character to UTF8 without using the ALTER DATABASE CHARACTER SET command
Is [url http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14200/functions027.htm#i77037]convert function ?
SQL> select convert('a','utf8','us7ascii') from dual;
C
a -
HT1351 Why won't movie files from flip camera won't play on ipod even after being converted?
Why won't movie files from flip camera won't play on ipod even after being converted?
Try the standard fixes:
- Reset. Nothing is lost
Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Restore from backup
- Restore to factory defaults/new iPod. -
Why are random spaces being inserted in text on Acrobat Pro 9?
My apologies if this has been asked & answered before. I did try and search and found some information but I still do not understand the complete picture.
I am a relatively new user to Acrobat and used 7 prior to upgrading to Pro 9 recently. I am using it for basic functions only at this point, combining multiple word (Microsoft Word 2003) documents from various authors. Since upgrading to 9 I have come across a few instances where there were random spaces inserted in the PDF document. These spaces are usually between words or in the middle of words and can be just one or two spaces or 10+ spaces. After doing some research I think I figured out that these spaces occurred after I had used the Touch Up Text tool to fix a small mistake (likely spelling). After more research I went into the Change Conversion settings option in Word and removed all of the fonts listed in the 'Never Embed' section of the Fonts tab under advanced settings. This seemed to solve the problem for a while but now it is occurring again.
So, my questions are:
1. Can someone explain to me if my research is correct and using the Touch Up Text tool is what caused the spaces in the first place?
2. What can I do to ensure that this does not continue to happen while still being able to use the Touch Up Text tool occassionally?
3. Is there something I am missing? (Highly likely given my lack of experience with Acrobat!)
I truly appreciate any insight that can be offered. Unfortunately I cannot offer any examples to show you what is happening as I work in a legal environment and I have yet to be able to re-create the issue with something not sensitive.
KimThere is really nothing like a space in an Acrobat pdf file. Each letter is positioned on the page according to the Acrobat language specification (similar to the postscript language). When you edit a pdf file anything can happen. I've seen changing one letter completely screw several lines of text (except for the fact that a line of text is not a pdf concept either). The best recommendation is to edit the original documents---not the pdf file. Sometimes it cannot be helped. Sometimes it works sometimes it doesn't. There are no workarounds for changes that occur when you edit the text in a pdf file.
-
How to convert character to ascii
Hi i need to check the value of the character less than space so need to make calc based on ASCII values
can some one tell me how can i convert chars & numbers to ASCIIHi,
Please check this code:
Below logic is for convert from character to ascii value :
report test.
*going from A to 65
data : c value 'A'.
field-symbols : <n> type x.
data : rn type i.
assign c to <n> casting.
move <n> to rn.
write rn.
Below logic is for convert from ascii tocharacter value :
*going from 66 to B
data : i type i value 66.
data : x type x.
field-symbols : <fc> type c.
move i to x.
assign x to <fc> casting type c.
move <fc> to c.
write c.
May it gives you some idea.
I hope it helps you.
Thanks.
Deepak Sharma. -
Convert image from RGB to CMYK and back to RGB
Hey.
I wonder if anyone has experience with converting image from RGB to CMYK and back to RGB?
I had a TIF in RGB then converted to CMYK but I figured that it might be better to keep in RGB, so I converted back. I read that it supposed to cause some loss in the data, but I can't see anything on the image, it is still very huge and the 2 RGB files has the same size as well. Is there a way to compare the resolution of 2 images somehow, or how can I see what I lost through the 2 conversions?
Thanks for helpI had a TIF in RGB then converted to CMYK but I figured that it might be better to keep in RGB, so I converted back.
The original RGB data is not being restored by converting from the CMYK version, so the term "keep" seems inappropriate.
What are the actual Color Spaces (ICC profiles) involved?
Is there a way to compare the resolution of 2 images somehow, or how can I see what I lost through the 2 conversions?
How did resolution come into this?
To determine how large a portion of the image has been changed you could
• make a flattened copy of the original image
• place a flattened copy of the RGB->CMYK->RGB image on top of that and set it to Blend Mode Difference
• add an Adjustment Layer (Curves for example) to brighten the image -
Over 6 gig of space being taking up by emails
After purchasing the new 5S, my two email acounts download over 10,000 emails. I subsequestly deleted 95% of them from the inbox and the trash and junk folders. However, my phone still says I have 6 gig of space being used for emails even though there are only about 100 emails for both accounts. No pictures either. I even reset one of the accounts to delete the emails off the server when deleted from the inbox, and changed the setting in Outlook to remove from server when deleted from deleted folder... but according to the iphone, I still have 6 gig of space being used for emails. Any suggestions as this is overly using my memory on the iphone.
Thanks for your suggestions.......FYI........I turned off the features that are connected to the iCloud and miraculously got over 2 gig back. Guess that answers the question. I do not restore my phone unless absolutely necessary. I didn't always use the cloud so i thought maybe turning it on had caused the space problem and it was. Haven't connected to itunes yet to see if "other" has gone down but I'm sure it has.
-
Audition converting video from 23.976 to 29.97fps
When I use the EDIT menu command "Edit in Adobe Audition", to send a sequence from Premiere Pro CS6 to Audition, my 23.976fps video file is being converted by either Premiere or Audition to a 29.97fps file. Perhaps this is how it's supposed to function and has no consequence on the mix or sound file. Just want to be sure this is how the exchange between programs is supposed to work.
He gets the number by dividing 48k by the number of samples he wants per frame, using Windows built-in calculator! Is that the right way to do it? Only if there are clear-cut and defined sample boundary numbers to be observed at frame boundaries. In reality you'd never get those numbers that accurate, because clock jitter would get thoroughly in the way.
I think that what Durin is suggesting is the obvious way to go about this - just recognise that the two apps have to display the same ruler time, and that to stop anybody getting number-blind, they should be limited to just the two decimal places... -
Connecting converted tool from VBAI to LabView
Hey all,
I'm really trying to connect to VI's together, one being a converted tool from VBAI and the other one, just a normal Labview coding.
The two VI's are attached with this message. Could anyone help me connect them together?
Kind regards
Xavier
Attachments:
GetImageExample.vi 31 KB
Craig's tool.vi 75 KBDear Nathan
I know I didn.t give much precision on that, but that's because I'm not so confortable with LabView, but I'll try and do my best.
So to start with, I am using a thermal camera provide by a company called LAND. LAND has developed a few SubVI so that the thermal camera can be used on LabView. This is represented by attachment 1.
Then, a few weeks ago, just for a trial, I have tried converting a tool from Vision Builder for Automated Inspection to LabView (no problems). After a little while, I manage to connect the new tool converted from Vision Builder (useless tool but just for trial; attachment 2) to the main SubVI, and data was coming out of all this (everything up until there was fine).
Then the next thing was to create the tool I wanted to use on Vision Builder, which didn't take long and I converted it to Labview. But finally, when it came to connecting the main SubVI (attachment 1) to the usefull tool from VBAI I wanted to use (attachment 3), I couldn't manage to find my way.
So this is what I am trying to do, that's to say, being able to use the tool developped in VBAI (attachment 3) to analyse the image I get from the main SubVI (attachment1) and get some data.
Any kind of help would be highly appreciated.
Thanks in advance
Xavier
Attachments:
Main SubVI.vi 32 KB
Main SubVI to first converted VBAI tool.vi 113 KB
Find Objects with ROI.vi 54 KB -
How to migrate from ascii to unicode (MaxDB 7.5)? loadercli: ERR -25347
Hi,
I use MaxDB 7.5.00.26. (Ok, I know that I should switch to 7.6, however, it is not possilble for some customer restriction for now, but should be possible quite soon).
We'd like to migrate a db from ascii to unicode. Based on the infos in the thread "Error at copying database using dumps via loadercli: error -25364" I tried the following:
Export sourcedb
1. Export catalog and data
C:\> loadercli -d db_asc -u dba,dba
loadercli> export db catalog outstream file 'C:\tmp1\20080702a_dbAsc.catalog' ddl
OK
loadercli> export db data outstream file 'C:\tmp1\20080702b_dbAsc.data' pages
OK
loadercli> exit
Import targetdb
1. Create a new empty DB with '_UNICODE=yes'
2. Set 'columncompression' to 'no'
C:\> dbmcli -d db_uni -u dba,dba param_directput columncompression no
ERR
-24979,ERR_XPNOTFOUND: parameter not found
Couldn't find this parameter e.g. in dbmgui (parameters general, extended and support)
3. Import catalog and data
C:\> loadercli -d db_uni -u dba,dba
loadercli> import db catalog instream file 'C:\tmp1\20080702a_dbAsc.catalog' ddl
OK
loadercli> import db data instream file 'C:\tmp1\20080702b_dbAsc.data' pages
ERR -25347
Encoding type of source and target database do not match: source = ASCII, target
= UNICODE.
loadercli> exit
What is wrong? Is a migration from ascii to unicode to be done somehow else?
Can I migrate a db from 7.5.00.26 to 7.6.03.15 in the same way or should it be done in another way.
It would be greate if you point me to a post etc. where these two migrations are explained in detail.
Thanks in advance - kind regards
MichaelHi,
I can neither find "USEUNICODECOLUMNCOMPRESSION" nor "COLUMNCOMPRESSION". Could it be that there do exist from MaxDB version 7.6 on and not in 7.5?
Kind regards,
Michael
The complete parameter list (created by "dbmcli -d db_uni -u dbm,dbm param_directgetall > maxdb_params.txt") is:
OK
KERNELVERSION KERNEL 7.5.0 BUILD 026-123-094-430
INSTANCE_TYPE OLTP
MCOD NO
RESTART_SHUTDOWN MANUAL
_SERVERDB_FOR_SAP YES
_UNICODE YES
DEFAULT_CODE ASCII
DATE_TIME_FORMAT INTERNAL
CONTROLUSERID DBM
CONTROLPASSWORD
MAXLOGVOLUMES 2
MAXDATAVOLUMES 11
LOG_VOLUME_NAME_001 LOG_001
LOG_VOLUME_TYPE_001 F
LOG_VOLUME_SIZE_001 131072
DATA_VOLUME_NAME_0001 DAT_0001
DATA_VOLUME_TYPE_0001 F
DATA_VOLUME_SIZE_0001 262144
DATA_VOLUME_MODE_0001 NORMAL
DATA_VOLUME_GROUPS 1
LOG_BACKUP_TO_PIPE NO
MAXBACKUPDEVS 2
BACKUP_BLOCK_CNT 8
LOG_MIRRORED NO
MAXVOLUMES 14
_MULT_IO_BLOCK_CNT 4
_DELAY_LOGWRITER 0
LOG_IO_QUEUE 50
_RESTART_TIME 600
MAXCPU 1
MAXUSERTASKS 50
_TRANS_RGNS 8
_TAB_RGNS 8
_OMS_REGIONS 0
_OMS_RGNS 25
OMS_HEAP_LIMIT 0
OMS_HEAP_COUNT 1
OMS_HEAP_BLOCKSIZE 10000
OMS_HEAP_THRESHOLD 100
OMS_VERS_THRESHOLD 2097152
HEAP_CHECK_LEVEL 0
_ROW_RGNS 8
_MIN_SERVER_DESC 16
MAXSERVERTASKS 21
_MAXTRANS 292
MAXLOCKS 2920
_LOCK_SUPPLY_BLOCK 100
DEADLOCK_DETECTION 4
SESSION_TIMEOUT 900
OMS_STREAM_TIMEOUT 30
REQUEST_TIMEOUT 5000
_USE_ASYNC_IO YES
_IOPROCS_PER_DEV 1
_IOPROCS_FOR_PRIO 1
_USE_IOPROCS_ONLY NO
_IOPROCS_SWITCH 2
LRU_FOR_SCAN NO
_PAGE_SIZE 8192
_PACKET_SIZE 36864
_MINREPLY_SIZE 4096
_MBLOCK_DATA_SIZE 32768
_MBLOCK_QUAL_SIZE 16384
_MBLOCK_STACK_SIZE 16384
_MBLOCK_STRAT_SIZE 8192
_WORKSTACK_SIZE 8192
_WORKDATA_SIZE 8192
_CAT_CACHE_MINSIZE 262144
CAT_CACHE_SUPPLY 3264
INIT_ALLOCATORSIZE 221184
ALLOW_MULTIPLE_SERVERTASK_UKTS NO
_TASKCLUSTER_01 tw;al;ut;2000*sv,100*bup;10*ev,10*gc;
_TASKCLUSTER_02 ti,100*dw;30000*us;
_TASKCLUSTER_03 compress
_MP_RGN_QUEUE YES
_MP_RGN_DIRTY_READ NO
_MP_RGN_BUSY_WAIT NO
_MP_DISP_LOOPS 1
_MP_DISP_PRIO NO
XP_MP_RGN_LOOP 0
MP_RGN_LOOP 0
_MP_RGN_PRIO NO
MAXRGN_REQUEST 300
_PRIO_BASE_U2U 100
_PRIO_BASE_IOC 80
_PRIO_BASE_RAV 80
_PRIO_BASE_REX 40
_PRIO_BASE_COM 10
_PRIO_FACTOR 80
_DELAY_COMMIT NO
_SVP_1_CONV_FLUSH NO
_MAXGARBAGE_COLL 0
_MAXTASK_STACK 1024
MAX_SERVERTASK_STACK 100
MAX_SPECIALTASK_STACK 100
_DW_IO_AREA_SIZE 50
_DW_IO_AREA_FLUSH 50
FBM_VOLUME_COMPRESSION 50
FBM_VOLUME_BALANCE 10
_FBM_LOW_IO_RATE 10
CACHE_SIZE 10000
_DW_LRU_TAIL_FLUSH 25
XP_DATA_CACHE_RGNS 0
_DATA_CACHE_RGNS 8
XP_CONVERTER_REGIONS 0
CONVERTER_REGIONS 8
XP_MAXPAGER 0
MAXPAGER 11
SEQUENCE_CACHE 1
_IDXFILE_LIST_SIZE 2048
_SERVER_DESC_CACHE 74
_SERVER_CMD_CACHE 22
VOLUMENO_BIT_COUNT 8
OPTIM_MAX_MERGE 500
OPTIM_INV_ONLY YES
OPTIM_CACHE NO
OPTIM_JOIN_FETCH 0
JOIN_SEARCH_LEVEL 0
JOIN_MAXTAB_LEVEL4 16
JOIN_MAXTAB_LEVEL9 5
_READAHEAD_BLOBS 25
RUNDIRECTORY E:\_mp\u_v_dbs\EVERW_T3
_KERNELDIAGFILE knldiag
KERNELDIAGSIZE 800
_EVENTFILE knldiag.evt
_EVENTSIZE 0
_MAXEVENTTASKS 1
_MAXEVENTS 100
_KERNELTRACEFILE knltrace
TRACE_PAGES_TI 2
TRACE_PAGES_GC 0
TRACE_PAGES_LW 5
TRACE_PAGES_PG 3
TRACE_PAGES_US 10
TRACE_PAGES_UT 5
TRACE_PAGES_SV 5
TRACE_PAGES_EV 2
TRACE_PAGES_BUP 0
KERNELTRACESIZE 653
EXTERNAL_DUMP_REQUEST NO
_AK_DUMP_ALLOWED YES
_KERNELDUMPFILE knldump
_RTEDUMPFILE rtedump
_UTILITY_PROTFILE dbm.utl
UTILITY_PROTSIZE 100
_BACKUP_HISTFILE dbm.knl
_BACKUP_MED_DEF dbm.mdf
_MAX_MESSAGE_FILES 0
_EVENT_ALIVE_CYCLE 0
_SHAREDDYNDATA 10280
_SHAREDDYNPOOL 3658
USE_MEM_ENHANCE NO
MEM_ENHANCE_LIMIT 0
__PARAM_CHANGED___ 0
__PARAM_VERIFIED__ 2008-07-02 21:10:19
DIAG_HISTORY_NUM 2
DIAG_HISTORY_PATH E:\_mp\u_v_dbs\EVERW_T3\DIAGHISTORY
_DIAG_SEM 1
SHOW_MAX_STACK_USE NO
LOG_SEGMENT_SIZE 43690
SUPPRESS_CORE YES
FORMATTING_MODE PARALLEL
FORMAT_DATAVOLUME YES
HIRES_TIMER_TYPE CPU
LOAD_BALANCING_CHK 0
LOAD_BALANCING_DIF 10
LOAD_BALANCING_EQ 5
HS_STORAGE_DLL libhsscopy
HS_SYNC_INTERVAL 50
USE_OPEN_DIRECT NO
SYMBOL_DEMANGLING NO
EXPAND_COM_TRACE NO
OPTIMIZE_OPERATOR_JOIN_COSTFUNC YES
OPTIMIZE_JOIN_PARALLEL_SERVERS 0
OPTIMIZE_JOIN_OPERATOR_SORT YES
OPTIMIZE_JOIN_OUTER YES
JOIN_OPERATOR_IMPLEMENTATION YES
JOIN_TABLEBUFFER 128
OPTIMIZE_FETCH_REVERSE YES
SET_VOLUME_LOCK YES
SHAREDSQL NO
SHAREDSQL_EXPECTEDSTATEMENTCOUNT 1500
SHAREDSQL_COMMANDCACHESIZE 32768
MEMORY_ALLOCATION_LIMIT 0
USE_SYSTEM_PAGE_CACHE YES
USE_COROUTINES YES
MIN_RETENTION_TIME 60
MAX_RETENTION_TIME 480
MAX_SINGLE_HASHTABLE_SIZE 512
MAX_HASHTABLE_MEMORY 5120
HASHED_RESULTSET NO
HASHED_RESULTSET_CACHESIZE 262144
AUTO_RECREATE_BAD_INDEXES NO
LOCAL_REDO_LOG_BUFFER_SIZE 0
FORBID_LOAD_BALANCING NO -
A friend of mine has recently signed up to ExportPDF so that he can convert PDF format wiring diagrams into Word format. On trying this the other day, we found that the wiring diagrams in the PDF file were being converted into elements of Word such as tables and text boxes.
Is there any way to get the diagrams converted into pictures within the Word document so that they can be copied and pasted into other documents? From looking at the limited settings panel to the right of the document in Reader I can't see it.Perhaps an application dedicated to converting PDF's to Word documents may get better results.
Here's a free online converter I use with occasional success: http://www.pdftoword.com/ -
Problem convertting certain extended ascii characters
I'm having problems with the extended ascii characters in the range 128-159. I'm working with SQL server environment using java. I originally had problems with characters in the range 128-159 when I did a 'select char_col from my_table' I always get junk when I try to retreive it from the ResultSet using the code 'String str = rs.getString(1)'. For example char_col would have the ascii character (in hex) '0x83' but when I retrieved it from the database, my str equaled '0x192'. I'm aware there is a gap in the range 128-159 in ISO-8859-1 charset. I've tracked the problem to be a charset issue converting the extended ascii characters in ISO-8859-1 into java's unicode charset.
I looked on the forum and it said to try to specify the charset when I retreived it from the resultset so I did 'String str = new String(rs.getBytes(), "ISO-8859-1")' and it was able to read the characters 128-159 correctly except for five characters (129, 141, 143, 144, 157). These characters always returned the character 63 or 0x3f. Does anyone who what's happening here? How come these characters didn't work? Is there a workaround this? I need to use only use java and its default charsets and I don't want to switch to the windows Cp1252 charset cuz I'm using the java code in a unix environment as well.
thanks.
-BNormally your JDBC driver should understand the charset used in the database, and it should use that charset to produce a correct value for the result of getString(). However it does sometimes happen that the database is created by programs in some other language that ignore the database's charset and do their own encoding, bypassing the database's facilities. It is often difficult to deal with that problem, because the custodians of those other programs don't have a problem, everything is consistent for them, and they will not allow you to "repair" the database.
I don't mean to say that really is your problem, it is a possibility though. You are using an SQL Server JDBC driver, aren't you? Does its connection URL allow you to specify the charset? If so, try specifying that SQL-Latin1 thing and see if it works.
Maybe you are looking for
-
After upgrading to latest Mountain Lion and Aperture 3.4 this morning, I launched Aperture. It kept crashing. I read on apple communities to go to user/library/Preferences and remove the file "com.apple.Aperture.plist. Like others I couldn't find it
-
I want to email a short iMovie
I want to email a 42 sec. iMovie. I published in "tiny" format. When do I see the .mov extension? Do I need to use Quicktime? Quicktime won't open this .rcproject. Should I try to make it a .wmv file? Because more people could open it that way? Thank
-
Third party firmware wrt54gs v7
is there third party firmware available for version 7 of the gs router?
-
Open .bbb files on a mac
Hi, is there a way to open blackberry files (.bbb) on a mac? I really need that information, but i can´t find a program to open the files
-
Now that I downloaded the new iPad update, how do I shut down apps running in the background to preserve battery life?