FRUSTRATING APOSTRAPHES

Randini wrote on 8/13/2012, 2:20 PM
It is frustrating that we are now in Vegas 11 and still there is no fix for copy and paste apostrophes to show up in the video. Example: I copy the following in Vegas: "The ransom of the man's life." It will appear in the media properties like that but if rendered it will appear "mans". The only fix is to delete the apostrophe and then manually type it in. THIS IS NOT GOOD ENOUGH FOR ME. If one was to do a very large project like the entire bible on video this would cause days of extra work. Then you always miss one and have to re-render and re-upload.

PLEASE FIX THIS PROBLEM SONY.

Comments

musicvid10 wrote on 8/13/2012, 3:11 PM
I think that's because you are copying and pasting Windows 1252 "curlies."
Try opening your file in Word, Save As .txt, and go from there. That converts the curlies back to Unicode. It takes seconds, and doesn't miss anything.

You can find directions for turning off smart quotes in Word, it varies by version. Vegas is but one of hundreds of programs that do not recognize MS 1252 variants, including RSS feeds.

Here is a complete set of rogue Windows 1252 characters that are incompatible with strict IS0 8859-1, Unicode, UTF8, etc.

€ ‚ ƒ „ … † ‡ ˆ ‰ Š ‹ Œ Ž ‘ ’ “ ” • – — ~ ™ š › œ ž Ÿ

Randini wrote on 8/13/2012, 3:29 PM
musicvid, thank you for the explanation. I have posted this before and never received an answer like yours. It would be great if they could find away around this without all the converting of text.
musicvid10 wrote on 8/13/2012, 3:39 PM
In case someone is interested (and I'm sure no one is), here is a Perl sub I wrote a few years back to convert MS 1252 characters and entities back to hex Unicode, so that RSS 2.0 feeds that have Word content pasted in will still validate. There are very few of us Perl types left, but it should port relatively easy to php.

   # Replaces windows-1252 (MS Word) characters with their Unicode equivalents
# Compatibile with feeds server-declared as UTF-8
sub preserve1252 {
my $string = shift;
$string =~ s/\x80|€|€/€/g;
$string =~ s/\x82|‚|‚/‚/g;
$string =~ s/\x83|ƒ|ƒ/ƒ/g;
$string =~ s/\x84|„|„/„/g;
$string =~ s/\x85|…|…/…/g;
$string =~ s/\x86|†|†/†/g;
$string =~ s/\x87|‡|‡/‡/g;
$string =~ s/\x88|ˆ|ˆ/ˆ/g;
$string =~ s/\x89|‰|‰/‰/g;
$string =~ s/\x8A|Š|Š/Š/g;
$string =~ s/\x8B|‹|‹/‹/g;
$string =~ s/\x8C|Œ|Œ/Œ/g;
$string =~ s/\x8E|Ž/Ž/g;
$string =~ s/\x91|‘|‘/‘/g;
$string =~ s/\x92|’|’/’/g;
$string =~ s/\x93|“|“/“/g;
$string =~ s/\x94|”|”/”/g;
$string =~ s/\x95|•|•/•/g;
$string =~ s/\x96|–|–/–/g;
$string =~ s/\x97|—|—/—/g;
$string =~ s/\x98|˜|˜/˜/g;
$string =~ s/\x99|™|™/™/g;
$string =~ s/\x9A|š|š/š/g;
$string =~ s/\x9B|›|›/›/g;
$string =~ s/\x9C|œ|œ/œ/g;
$string =~ s/\x9E|ž/ž/g;
$string =~ s/\x9F|Ÿ|Ÿ/Ÿ/g;
$string =~ tr/\x80-\x9F//d;
return($string);
}
JackW wrote on 8/13/2012, 6:18 PM
Musicvid, nice to have you back and many thanks for this bit of code.

Jack
jetdv wrote on 8/14/2012, 9:31 AM
Here's a simple fix. After you copy the text,

1. Open Notepad and Paste
2. Select all and copy
3. Now paste into Vegas

This will remove all the formatting including the fancy quote marks.
musicvid10 wrote on 8/14/2012, 9:42 AM
Edward, sorry, that does not work here (Vista 32, Word 2000, Vegas 8.0c).
Windows character encoding is retained after pasting to Notepad, with or without saving.

The sequence I suggested above does work here:
"Try opening your file in Word, Save As .txt, and go from there."