Best doctype and encoding?

What is the best doctype and encoding to use for web pages these days?

I do most of my sites in ISO-8859-1 since most have to have a Spanish section and the accents work easier.
Recently had to change one over to UTF-8 for a russian section and that's when I discovered something new...
my russian pages would not display once uploaded and a I spent a couple of days trying to figure out why...
turns out you have to make sure (at least with my server) that the server is using the same encoding as you are
my server - being in Spain - used ISO as default - so I had to ask them to switch it over to UTF-8 and then my page worked fine.
just watch out for that if you start switching your page encodings.
of course this also means that I had some issues with other pages , since the server will only use one encoding for all the pages on a site
worth bearing in mind - particularly if you do a lot of multilingual stuff as I do...

Similar Messages

  • What is the best way to encode and compress?

    I just finished an hour and a half long video of comedians performing. The client wants this to be put on dvd so he can mass produce it. What is the best way to compress this and encode it? Should I buy compressor or can I do it in handbrake? What are the best best settings to make sure it doesnt lose quality? Please advise...

    You should be able to get up to 2 hours at least.
    The best way is to export as a Master File and drop it into iDVD, Toast or some other DVD authoring app.

  • Best way to encode Quicktime file for the web?

    Hello all and thanks in advance for your help with this problem.
    I need to know the best way to encode a quicktime clip for the web.
    This was my first try:
    http://www.denmothers.net/trailer-big.htm
    It works fine in safari, firefox, and ie for mac, provided they have quicktime 6 or later but it seems not to work on pc browsers. The file is encoded as an .mp4 using compressor and played with the browser's quicktime plugin. I've read that encoding files as a .mov provides greater compatibility but when i compress it as a .mov using the mpeg4 codec the file sizes are huge and when i use the photo-jpeg codec the quality is poor. h.264 looks great and has low file sizes but then my viewers have to have quicktime 7 which i think is too limiting because many will have older computers.
    How should I encode my file such that it works best across browsers and platforms and has the highest quality at the lowest size?
    Best,
    Keegan

    If you open an .mp4 file in quicktime pro you can then select File->Save-As and you are presented with two options:
    Save as self-contained: This will create a .mov that is the same size as your .mp4 but is playable on any system w/ QuickTime 6 and the Mpeg-4 codec. (PC's included).
    Save as reference: This will create a small (>500kb) file that will simply reference the .mp4. If they're in the same folder the .mov created will open the .mp4. Without the .mp4 the .mov in this case is useless.
    For what you're trying to do I suggest going with self-contained.

  • What will be the best strategy for encoding performance ?

    Hi to all.
    As I am a rooky with Premier Element 11, I comes to you all to get your feedback with your configuration choice.
    My PC is a self made choice:
    CPU is Intel Core i7 3770K - 3.5Ghz
    GPU is a GeForce GTX 660 OC 2Go or ATI HD 5870
    RAM is 16 Go (2x8Go) gskill PC3-10700  (2400 Mhz)
    Motherboard is Asus P8Z77-V Pro
    SSD is a Samsung Pro 256Go  defines as the system (C:\)
    Premiere Element is installed on it.
    What would you do if you have the choice to buy 1 or 2 HDD 1To SATA III 64Mo (6 Gbit/s)  ?
    I would like to know where I should put the following files in order to get the best performance to encode a movie in full HD.   
    - Movie source files
    - Premiere Element Temp Files
    - Output (final movie file)
    Thanks for your idears
    Biglooping

    The tradition with HDDs is to spread them out on multiple drives to prevent input/output drive bottlenecks.  All of the article in the Adobe libraries (that I've found) are aimed at users with workstations that have multiple hard drives and various backup systems.  Few articles have mentioned SSDs as apparently they have not been considered trustworthy. 
    I have a new ASUS i7 laptop and am very happy creating a new folder for each project and putting everything in that folder.  I create the folder, put copies of the media I plan to use in it, start a new project and double check in preferences that scratch disks are all set for "same as project".
    Since I use the SSD as the work drive, my HDD is for storage and less significant software installations.  At 7200 RPM it is relatively fast, but not that important for they way I manage video projects. 
    At output I get near 1:1 render times, unless there is significant use of effects and multiple video tracks. 
    The laptop has a 7200 RPM HDD.  I tried various suggestions for spreading out the source, temp and output files and got no noticeable improvements in performance.  So, if you choose to manage projects like I do, it does not matter much what HDD you buy.
    When a project is complete I move the entire folder to another drive for storage and back that up on yet another drive.  If I want to work on a project, I can move the entire folder back to the SSD.  I find it very convenient. 
    Bill S
    Message was edited by: whsprague to correct spelling errors!

  • Using Max to rip and encode  cds but encountering problems

    I thought I'd use this software for a change something isnt quite right,On some cds the title artist and list of tracks appears as it should on Max window then the ripping and encoding commences.Only problem here is that i keep getting an ITunes file permission error which i have to delete each time .On other cds The Max window appears with nothing showing, the ripping and encoding starts but then seems to stop only to start importing in iTunes,I then stop this process to allow Max to continue but the end result is a iget a long list of unnamed tracks at the bottom of my itunes Music library.It seems like i havent got my settings quite right?? Could someone please advise me what the problem could be? thanks
    Message was edited by: angloargie

    You're problem is entirely different from the original poster's. You're more likely to get help if you start your own thread with a descriptive subject line. Include any error messages you're getting and any steps you've taken already to solve the problem.
    Best of luck.

  • Bit Rate and Encoding

    Hey y'all--
    I've read all the posts about this, but can someone please give me a simple answer (if one exists)?
    When I format (encode) my project, I would like to start with high settings then back-off when I run out of room on the DVD. The media (aside from Menus) is a series of 3min animated films (4 now, more later). My encode settings are as follows:
    FIELD ORDER: Auto
    MODE: Two Pass VBR
    BIT RATE: 5.0
    MAX BIT RATE: 7.5
    MOTION ESTIMATION: Best
    Is this a good place to start or should I up the bit rate settings? I'm just looking for a benchmark.
    Thanks in advance.
    G4 Dual 1.25; 2gigs Ram   Mac OS X (10.4.4)  

    Did you Google for a bitrate calculator as I suggested?
    http://www.videohelp.com/calc.htm
    With an audio bitrate of 192kbps (i.e. Dolby Digital encoded by Compressor 2 or A.Pack), it tells me that 90 minutes of video should be encoded at an AVERAGE bitrate of 6.6Mbps to fill a single DVD-R.
    If you want, you can do that as a constant bitrate encode of 6.6. You can also do a two-pass VBR encode with average of 6.6 and maximum of (say) 7.5 (because as David points out again, there are issues with high bitrate playback off of DVD-Rs).
    If you want to get more on the disc, encoded at a lower average bitrate.
    If you want to split it across two discs and encode everything at a high constant bitrate, you can do that too.
    If you are going to get this disc REPLICATED and therefore not have the DVD-R playback issues, you can encode all video at 9.5Mbps and fit 40 minutes onto a DVD-5, or 80 minutes onto a DVD-9.
    Or you can lower bitrates and resolutions dramatically and fit a lot more onto a single disc.
    It completely depends on your project, your delivery requirements, and your quality requirements.

  • Correlated analog and encoder readings with M-series

    Hardware: PCI-6220
    Driver: NI-DAQmx
    Software: VC++ 6.0
    My goal is to collect synchronized (correlated) analog and encoder readings to provide position-based voltage and current information.
    First question is regarding the potential alternatives and which is the best approach between these options:
    1) A single task that reads required analog and counter information into the same buffer, seems easy to align the data using this approach.
    2) A task to read analog data and a second task to read counter information, complicated by the need to reliably align the informatio from seperate buffers.
    Next question is simple: can the PCI-6220 read 2 seperate encoders?
    Hopefully, last question: where can I find documentation about where to connect A, B, and Z? So far all my searches have resulted in E series or 6602 counter examples and nothing on M series.
    Thanks, Ed

    Hi Ed,
    To answer your questions:
    >>First question is regarding the potential alternatives and which is the best approach between these options:
    >>1) A single task that reads required analog and counter information into the same buffer, seems easy to >>align the data using this approach.
    >>2) A task to read analog data and a second task to read counter information, complicated by the need to >>reliably align the informatio from seperate buffers
    First of all, option one is not actually an option because you cannot have one task acquire two different types of data (eg analog and counter data). Therefore, option two is the way to go. It is not as hard as it seems. You can use Channel Z to trigger the analag input channels and once the analog and counter channels are triggered at the same time their data will automatically be aligned.
    >>Next question is simple: can the PCI-6220 read 2 seperate encoders?
    The PCI 6220 has two 32 bit counter channels, so it is possible to read two separate encouders. Here is a link to the product data sheet for this card: http://sine.ni.com/apps/we/nioc.vp?cid=14130⟨=US
    >>Hopefully, last question: where can I find documentation about where to connect A, B, and Z? So far all my searches have resulted in E series or 6602 counter examples and nothing on M series.
    You are right, it is difficult to find out where to connect channels A, B, and Z! The easiest to find this information is to create an NI-DAQmx counter Task in MAX (Measurement and Automation Explorer). Once you have followed all of the steps to create the task you will see the task information in the middle of the screen. There will be a settings tab and inside this tab it will tell you what pins to connect A, B and Z to. I went ahead and created tasks for ctr 0 and 1 in MAX to get the information on which pins to connect to A, B, and Z.
    For ctr0: For ctr1:
    A: PFI8 PFI3
    B: PFI10 PFI11
    Z: PFI9 PFI4
    Please let me know if you have any further questions. Have a great day!
    Jennifer

  • Doctype and Port 80 problems

    Hi
    Have a site up and running through Contribute and hoped
    someone can help with a couple of problems:
    The index page is adding :80/ to the end of the URL instead
    of just / Does anyone know how to get rid of this?
    Also, what is the best doctype to use with contribute?
    Appears that no doctype is added and really need to do that before
    tackling the other code/validation errors. Tried a couple of
    options but these made the situation worse.
    Thanks in advance for any assistance.
    Tom

    Hi
    I would like to say that not getting a reply in the forum was
    a little disappointing. In no way do I blame forum members, that's
    up to them but don't Adobe people keep an eye on questions that are
    unanswered. Looking at how many others there are, maybe not.
    Neither did they reply to the email I sent to support.
    In the end, I found a free website help line in the area
    where I'm staying. They are
    Surrey Web
    Development and deserve a mention, as they helped for nothing,
    within a couple of hours. Anyway, the port 80 thing I'm still not
    sure about, as they spoke to my hosts and this is sorted out but
    I'm not sure how. On the doctype, they recommended HTML 4.01
    Transitional, I'll paste the code below if that helps anyone, which
    goes right at the top of your page (in the source code, not the
    page itself).
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN"
    (Then there's another line, just search for that, went weird
    on here.)
    They also suggested a few other things and explained how to
    use a validator. Can't say the website code is absolutely perfect
    yet but nearly. Can't really understand why this isn't added
    anyway, I love contribute and people say my website looks good,
    important for a photographer. Just hope Adobe will work on the
    coding problems, I don't want to feel I have to use something else.

  • How to decoding and encoding PNG and GIF images?

    I could decode and encode JPEG images using following create functions which are in com.sun.image.codec.jpeg package.
    JPEGImageDecoder decoder = JPEGCodec          .createJPEGDecoder(inputStream);
    JPEGImageEncoder encoder = JPEGCodec                    .createJPEGEncoder(outputStream);
    But I dont know required package and functions to decode and encode PNG and GIF images. Please help me.

    Is the API that hard to follow?
    ImageIO.read( file/stream/url)
    ImageIO.write( image, format (e.g. PNG, GIF(1), JPEG), file/stream what have you)
    1) Not sure if Java supports GIF saving, it might if you install JAI, or Java 6.

  • Best Practises and Guidelines for SharePoint 2013 Development

    Currently We are using SharePoint 2010 and doing a lot of enhancement and customization in the portal.
    we are planning to migrate SharePoint 2013 after 6-9 months.
    I want to know what are the best practices and guidelines for development in SharePoint 2010 keeping one thing in mind that customization should be compatible or can easily migrate to SharePoint 2013 so that re-engineering effort would be as minimum
    as possible.
    We have every possible piece of customization in SharePoint 2010 portal like web part, event receivers, workflows, master page, page layout, custom search etc.
    Please do the needful.

    Best practices don't really apply here. They are generally rules of thumb that you can apply without thinking too much and be pretty much right. Development is by it's nature too varied to allow that sort of best practice guidance.
    Having said that the main thing you should be concerned with around the choice of development approach in 2013 is the intended future of your client and the application. If they are making a move to the cloud you should be concentrating on the app model
    and rapidly phasing out farm solutions. If they are considering it then you can still consider using the more old-school options of farm solutions and sandboxed solutions. If they can't go to the cloud because of data security etc. then you are more or less
    free to use what you like.
    Also, try to move to client side processing wherever possible. MS are only going to make server side work less pleasant in future.
    Beyond that, get to some conferences and start chewing through some of the blogs on the topic.

  • I'm moving to an imac from a PC. I want to move my itunes library from the PC to my new imac. What is the best method and where can I find instructions?

    I'm moving to an imac from a PC. I want to move my itunes library from the PC to my new imac. What is the best method and where can I find instructions?

    Move iTunes from PC to MAC, http://www.macworld.com/article/146958/2010/03/move_itunes_windows_mac.html

  • Best Size and Resolution to Scan Photos?

    Hi, I need to create a photo slide show in iMovie. I would do it iPhoto but I need to able to time my music and add intermittent titles so I guess I'll need to use iMovie. I'm very new to iMovie and actually am used to editing on Avid and Media 100 (which I no longer have access to) so I'm a little scared! So, my question is - when I scan my photos what is the best size and resolution to scan them at for the best final results? It will be viewed on a TV from a DVD. Any other tips for a newbie also appreciated. Thanks so much! -Julie
    p.s. I'm using iMovie HD but I'm on a G4 so don't have HD capabilites. Not sure if that matters.

    Hi Julie: Look here:
    http://www.danslagle.com/mac/iMovie/video/2002.shtml
    That should help.
    ……I'm using iMovie HD but I'm on a G4 so don't have HD capabilites. Not sure if that matters. ………
    No, that doesn't matter at all.

  • Best rgb and gamma settings for external monitor with mountain lion

    Hi,
    I'm using an LG LED 22 inch monitor with my MBP mid 2010 via minidisplay to hdmi. on OS X side the settings have been default. On the LED side the settings , if set to preset RGB it tends to fade the whites a lot. when i set to user definied and let the preset rgb be at it is, the colors are quote decent. currently they are on R 50, G 58 and B 59 and Gamma 1. Which is the best RGB and Gamma value for OS X Mountain Lion?

    Welcome to the forum.
    First off, you need to go and buy a hardware monitor calibrator, such as an OptixXR or similar. This will build a custom monitor profile for your specific screen. Without this starting point you can forget ANY attempt at accurate colour matching.
    Never (and I mean never) use a working space such as sRGB or Adobe98 as your monitor profile, that's not what they are designed for. Working spaces control what colours are possible in the image, monitor profiles control how those colours are shown on screen. Aperture uses it's own working space so you don't have to worry about that too much.
    To answer the rest far too briefly, I'd suggest setting the proofing profile to sRGB and of course use sRGB for the export preset. The gamma setting you will have to adjust depending on how dark the Lightjet prints look compared to your screen. You will have to do test-strips to start with.
    Your images looking crap on flickr on Windows machines is partly because Windows web browsers generally do NO colour correction, and only partly to do with the different gamma.
    Ian

  • I bought a macbook pro as an open item in best buy and it doesn't come with garage ban, iMovie, iphoto, numbers, etc. what can I do?

    I bought a macbook pro as an open item in best buy and it doesn't come with garage ban, iMovie, iphoto, numbers, etc. what can I do?

    it wouldnt come with numbers, only iphoto, imovie, and garageband.  Have you tried this?
    Double-click the App Store icon in the dock.
    Enter your Apple ID and password.
    Click Purchases.
    If you haven't previously accepted your bundled iLife applications within the Mac App Store, you should see your iLife applications appear in the Accept portion of the screen. Click Accept.
    You may be asked for your Apple ID and password once again. Your iLife applications now move to the Purchased section. These applications are part of the software that came with your Lion based computer. Your account will not be charged for them. Click Install to complete installation of your applications.

  • When I synch a file "best photos" via iTunes to my iPhone I get two identical files - "best photos" and Photo library.  I don't know why

    When I synch a file "best photos" via iTunes to my iPhone I get two identical files - "best photos" and Photo library.  I don't know why

    All photos transferred from your computer via the iTunes sync process are stored in the iPhone's Photo Library.
    When transferring multiple albums or a single album, the photos in the albums below are not duplicated as in taking double the storage capacity for the photos. Photos in an album or albums below include a pointer to the original photos stored in the Photo Library.
    This way you can view the photos in an album only by selecting the album, or all photos in all albums by selecting Photo Library. Makes more sense when transferring multiple photo albums from your computer but the same applies when transferring a single album or folder of photos.
    The same applies to iTunes playlists. A song placed in a playlist is not duplicated.

Maybe you are looking for