Boxes appear between letters? need help...
I am writting a program and want to print the contents of a buffer to a text file, but boxes appear between all letters and spaces in the text file. Any ideas?
If you are reading from a stream (e.g. a file), then you can specify what character encoding it should use.
BufferedReader in = new BufferedReader(new InputStreamReader(new FileInputStream("test.txt"), "ISO8859_1"));
In this case I tell it to use the ISO 8859-1 (1 byte is equals to one character).
If your buffer is a byte array, you can change it to a string using a specific character encoding as well instead of the platforms default.
new String(byteArray, "ISO8859_1");
May or may not be the problem you have.
Similar Messages
-
Every time I open an app a box appears saying I need to connect to iTunes to receive push notifications. I go to iTunes and I'm already logged in,so I'm not sure what to do. Can anyone help?
Use Lion Recovery to repair the startup disk if necessary, or reinstall the Mac OS X.
-
Blue boxes with question marks, Need help
In safari i am constantly getting blue boxes with question marks in them, replacing images.
These boxes are showing up on tumblr, forums, facebook and other places.
I need help fixing it please.Thoseboxes mens it can't decipher the format, might try
Perian...
http://perian.org/
Perian enables QuickTime application support for additional media:
• File formats: AVI, DIVX, FLV, MKV, GVI, VP6, and VFW
• Video types: MS-MPEG4 v1 & v2, DivX, 3ivx, H.264, Sorenson H.263, FLV/Sorenson Spark, FSV1, VP6, H263i, VP3, HuffYUV, FFVHuff, MPEG1 & MPEG2 Video, Fraps, Snow, NuppelVideo, Techsmith Screen Capture, DosBox Capture
• Audio types: Windows Media Audio v1 & v2, Flash ADPCM, Xiph Vorbis (in Matroska), and MPEG Layer I & II Audio, True Audio, DTS Coherent Acoustics, Nellymoser ASAO
• AVI support for AAC, AC3 Audio, H.264, MPEG4, VBR MP3 and more
• Subtitle support for SSA/***, SRT, SAMI
Never heard of those sites though, so no idea what they use. -
Display Years between dates - Need Help.!!!
Dear Reader,
I need help to resolve this.
Below are the values stored in table:
SOME_ID START_DATE END_DATE
1 15-NOV-2001 04-MAY-2002
1 05-MAY-2004 04-MAY-2007
1 05-MAY-2007 27-JAN-2008
2 07-NOV-1991 02-FEB-1994
2 07-NOV-1998 02-FEB-1999
For example, the query should return as follows :
For SOME_ID 1:
SOME_ID YEARS
1 2001
1 2002
1 2004
1 2005
1 2006
1 2007
1 2008
Kindly help in providing the solution.
Thanks in Advance.with sample_table as (
select 1 some_id,to_date('15-NOV-2001','dd-mon-yyyy') start_date,to_date('04-MAY-2002','dd-mon-yyyy') end_date from dual union all
select 1,to_date('05-MAY-2004','dd-mon-yyyy'),to_date('04-MAY-2007','dd-mon-yyyy') from dual union all
select 1,to_date('05-MAY-2007','dd-mon-yyyy'),to_date('27-JAN-2008','dd-mon-yyyy') from dual union all
select 2,to_date('07-NOV-1991','dd-mon-yyyy'),to_date('02-FEB-1994','dd-mon-yyyy') from dual union all
select 2,to_date('07-NOV-1998','dd-mon-yyyy'),to_date('02-FEB-1999','dd-mon-yyyy') from dual
select distinct some_id,
column_value years
from sample_table,
table(
cast(
multiset(
select to_number(to_char(start_date,'yyyy')) + level - 1
from dual
connect by to_number(to_char(start_date,'yyyy')) + level - 1 <= to_number(to_char(end_date,'yyyy'))
as sys.OdciNumberList
where some_id = 1
order by years
SOME_ID YEARS
1 2001
1 2002
1 2004
1 2005
1 2006
1 2007
1 2008
7 rows selected.
SQL> SY. -
Need help regarding blackberry symbols
i have blackberry curve 9220 few days back my cell got spoiled and reload software error came so after reloading and installing back os 7.1 on my curve 9220 few symbols such as crown ans music symbols ( the one available on apps such as jingu or fancy characters ) became black box i tried a lot but they seems to be jst blackbox now .... bbm users having such symbols inserted in their name became black boxs and now i need help what should i do so bring such symbols again ??????
example : see this link
https://www.dropbox.com/s/mqhpk08fjfclb4m/s13_05_21__17_32_38.jpg
so as you can see in the image that in the bbm this people had crown in their names and its appearing just a black box
please help !Hi There,
I believe these icons are not compatible with BB OS 7.1 on your device which happens with most such symbols that are from other instant messaging applications. Were they visible before on the OS 7.1? I am also thinking the change could have come from your BBM if you updated it to newer version. -
Need Help. Data jumps between Combo Boxes in an ADG
I have an item renderer in an advanced datagrid.
<mx:AdvancedDataGridColumn
dataField="USE_TYPE_DESC"
headerText="Use Type"
rendererIsEditor="true"
itemRenderer="renderers.tpUseTypeDropDown"
editorDataField="getData"/>
But the data that gets displayed in the combo boxes, appear to jump between CBs when you scroll the ADG up and down. The physical data is fine, its just the displayed data that is wrong.. Any ideasOk, I tried this but still getting an error
<cfquery datasource="mydb" name="test">
Select name from mytable
where
<cfqueryparam value=#createodbcdate(edate)# cfsqltype="CF_SQL_DATE"> Between '01/01/2011' AND '01/01/2013'
</cfquery>
<cfoutput query="test">
#ename#
</cfoutput>
now I get
An error occurred while evaluating the expression:
"#createodbcdate(edate)#"
Error near line 3, column 53.
Error resolving parameter EDATE -
I Need help with iCloud storage. 5gb are free, so I get an email, that mine is just about full. So I upgraded to 20gb and now I want to downgrade back to 5gb.
tthe DONE button doesn't highlight, so my requested can't be completed. Any help will be appreciated.Have you tried rebooting the computer? If not, the next step is to contact iCloud Support. http://www.apple.com/support/icloud/
-
HEY GUYS I AM USING AN IPHONE 3g and when i connect my device to my laptop a dialog box appears saying that an update of 4.2 is available so went for it.after the firmware is downloaded via itunes it shows that the firmware is invalid!.please help.
AND ALSO I HAVE HEARD THAT THE IPHONE 3G CANNOT BE UPDATED TO IOS 4.2!IS IT TRUE???
PLEASE HELP ME.This means that the phone you have was software unlocked to use on any carrier, or hacked. When you installed the update it restored the lock that originaly came with your phone. Not much you can do now. Apple will not support hacked phones. You will need to find out the carrier your phone is locked to and see if they offer official unlocking, or start googling to see if you can find a way to unlock 4.2.
-
a gap between letters started to show in my indesign files. tried to undo with tracking, then with the paragraph settings. nothing helped. it ruins the fluent view of the document. how can i restore the program so that doesn't happen?
for example: say i write a paragraph. then, in a weird some sort of way an involuntary gap suddenly appears between different letters of random words(i did not recognize any pattern to the gap appearing) throughout the entire paragraph. once i've double clicked on that paragraph, and made a minor change, lets say tapped a 'space' key, and then clicked ctrl+z to undo, it has aligned(or fixed) the entire paragraph and made it look ok again. i've tried numerous ways to undo the entire thing, but cannot find the reason. i've been working for a few years and there's no reason why this thing all of a sudden should happen right now.
if anyone has stumbled on something like that and can advise, i would welcome it.
MNS-KG
Vadimyep...i'm typing with hebrew. i'll make a printscreen with the settings you've asked for@:
if you look closely you'll see that almost every line has a single letter apart. in hebrew there is no usually a singe letter structured words. -
White box appears while switching between two desktops
Hello all,
Since few weeks I have a problem when I switch between two Desktops. Everytime I switch between them a white box appears in the left corner of my screen (see screenshot).Please read this whole message before doing anything.
This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches.
Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and Wi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test. -
Recently rented a film and bought an album on iTunes. The items appear in my purchased items and in my download items however they have a download error tap to retry. When I retry I box appears quoting name of item and unable to download at this time. What do I need to check? I have had no problems downloading before and my Internet signal is strong. Help please!!
For the rental:
Select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History on your computer.
For the music:
Try deleting the problematic tune (electing to remove original file if/when prompted) and then re-downloading the file from the iTunes store.
You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option from the Quick Links section in the top right corner of the iTunes homepage in your iTunes application on your computer.
You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option at the bottom of the screen of the iTunes app on your iOS device.
If the problem re-occurs, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History using your computer. -
I need help I can't receive mail as it says my mail box is full but all my boxes are empty. Simple terms please as I am new to this. Don't know how to find my os it keeps telling me I need iOS5 how do I do that.
If you have an iPad 1, the max iOS is 5.1.1. For newer iPads, the current iOS is 6.0.1. The Settings>General>Software Update only appears if you have iOS 5.0 or higher currently installed.
iOS 5: Updating your device to iOS 5 or Later
http://support.apple.com/kb/HT4972
How to install iOS 6
http://www.macworld.com/article/2010061/hands-on-with-ios-6-installation.html
iOS: How to update your iPhone, iPad, or iPod touch
http://support.apple.com/kb/HT4623
If you are currently running an iOS lower than 5.0, connect the iPad to the computer, open iTunes. Then select the iPad under the Devices heading on the left, click on the Summary tab and then click on Check for Update.
Tip - If connected to your computer, you may need to disable your firewall and anitvirus software temporarily. Then download and install the iOS update. Be sure and backup your iPad before the iOS update. After you update to iOS 6.x, the next update can be installed via wifi (i.e., not connected to your computer).
iOS: Unable to send or receive email
http://support.apple.com/kb/TS3899
Can’t Send Emails on iPad – Troubleshooting Steps
http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
iPad Mail
http://www.apple.com/support/ipad/mail/
Try this: Delete the account in Mail and then set it up again.
Cheers, Tom -
Need help with intricate lettering
Well, I try not to ask questions on this forum without attempting things myself. I understand other people's time very important. Anyway, I took a course at a technical college and have a home classroom course that I'm doing right now. Unfortunately, at this point I need help. This logo must be recreated to vector art because it will be printed on a very large substrate. The customer has no access to the vector art.
I need help.....I am very proficient with the basic tools, the pen tool especially. However, creating intricate lettering like this, I don't have much experience with.
The lettering is kicking my *** right now. Also, I can mimic the gradient for the bars decently, but am having trouble with the little rounded gradient effect in the corners.
I hate to beg for help, but may I have help!!?? I'm not looking for someone to do the work, rather please provide any tips so I can wade my way through this. The customer contacted my boss today and needs it by Monday for a meeting, so I will have a project to do over the weekend.
It needs to print spot black. Any tips/suggestions will be greatly appreciated. After work tonight, I'm going to go through my classroom in a book to pick up helpful tips.
Thanks everyone,
AndrewThere are many stylistic variations of this kind of thing. Your screenshot is too low-res to discern the exact treatment used for sure. That said:
This takes about 5 minutes and results in a clean, economical construct with a minimum of paths.
Only color is Spot Black.
Two Swatches: Spot Black and 20% tint of Spot Black.
All the offset paths (the inner paths of all the characters) are a single Compound Path and receive a three-stop linear grad fill at 0 degrees.
All the original paths (the outer paths of all the characters) are left separate and a three-stop linear grad fill at 120 degrees is applied (so each outer character has its own grad that can be individually adjusted).
A little individual adjustment of the grads on each outer character can very closely match the arrangement of bevel tones of the original you're trying to emulate. Keep it simple. Study the shading of the emboss edges carefully, and try to see them as linear grads spanning the whole character, not as a bunch of tiny tedious individual details wrapping around the character. Then accomplish the shading with as few grad stops as possible. Understand how to "tighten" or "sharpen" the shifts between grad stops by moving the gamma pointers that are between each pair of adjacent grad stop off-center toward one stop or the other. The tighter the transitions--especially on the bevel facets--the more "sparkle."
JET -
Hi all, I bought one iphone and 3 ipads, i set up all on one apple ID. Now i have a problem when using messages: when sending message from one device it appears again on screen from the other 3 devices. I need help on how to set up messages on each device separately and to start using messages app on each device independently. Thanks
search google for "iphone remove picture from contact"
-
I updated to Itunes 10.6.1.7. over 6 months ago on my Mindows XP desktop. It has worked well.
Recently, on startup, a dialogue box appeared which read: "Itunes was nor properly installed. If
you wish to burn or import CDs you have to re-install Itunes." I attempted to upgrade to V 11.0.1
which ended with an error message and a code 2330. I have abandoned that idea. I would like to
re-install V10.6.1.7 or update to 10.6.3. but where do I find these old versions? Which do I use,
32 or 64 bit?
Please help.
Konogboki 1968I attempted to upgrade to V 11.0.1
which ended with an error message and a code 2330.
That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
XP instructions in the following document: How to perform disk error checking in Windows XP
Vista instructions in the following document: Check your hard disk for errors
Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?
Maybe you are looking for
-
I have a question about extracting pages. When I do the function, adobe saves the individual files as "<file name><space><page number>", so the files look like this "filename 1.pdf", "filename 2.pdf", "filename 3.pdf". Without too many gory details
-
How do you define the width of a JPanel?
How do you define the width of a JPanel?
-
I Got the location of stolen ipad mini by using Find My Iphone
Hi,i got the location for my stolen ipad mini using Find My Iphone,is it possible to get the actual IP address or more accurate direction of its ? without actual location or house No. police will do ntg with that for me . =(
-
Hi, When I want to load forms. It gives me error like FRM-18108: Failed to load following object. Source Module: webutil.olb Source Object: webutilconfig I have some other forms. those are work fine. when I try to find subclass information. it shows
-
Country for the sales organization
Hi, I need to associate a country to each one of the sales organization I have created in BW. What I don't know is whether there is any navigational attribute associated or I have to create a characteristic and give the value depending on the sales o