f



UTF-8 Encoding

Hi all,

probably this has been asked before. But I was searching for hours, and
couldn't find anything useful: Can I use UTF-8 encoded text with
PostScript?

We use a simple library that generates documents with

   %%DocumentFonts: (atend)
   /PicoEncoding
      ISOLatin1Encoding  dup length array  copy
      dup 164  /Euro  put
   def
   /isoLatin1 {
      dup dup findfont  dup length  dict begin
         {1 index /FID ne {def} {pop pop} ifelse} forall
         /Encoding PicoEncoding def  currentdict
      end  definefont
   } def

and later calls something like

   /Times-Roman isoLatin1 def

Is there a direct way to support UTF-8, e.g. by replacing
'ISOLatin1Encoding' with something else?

Cheers,
- Alex
-- 
   Software Lab. Alexander Burger
   Bahnhofstr. 24a, D-86462 Langweid
   abu@software-lab.de, www.software-lab.de, +49 8230 5060
0
abu (80)
1/9/2009 3:42:57 PM
comp.lang.postscript 3552 articles. 0 followers. Post Follow

4 Replies
1118 Views

Similar Articles

[PageSpeed] 27

Alexander Burger wrote:
> Hi all,
> 
> probably this has been asked before. But I was searching for hours, and
> couldn't find anything useful: Can I use UTF-8 encoded text with
> PostScript?
> 
> We use a simple library that generates documents with
> 
>    %%DocumentFonts: (atend)
>    /PicoEncoding
>       ISOLatin1Encoding  dup length array  copy
>       dup 164  /Euro  put
>    def
>    /isoLatin1 {
>       dup dup findfont  dup length  dict begin
>          {1 index /FID ne {def} {pop pop} ifelse} forall
>          /Encoding PicoEncoding def  currentdict
>       end  definefont
>    } def
> 
> and later calls something like
> 
>    /Times-Roman isoLatin1 def
> 
> Is there a direct way to support UTF-8, e.g. by replacing
> 'ISOLatin1Encoding' with something else?
> 
> Cheers,
> - Alex

There are some PostScript procedures around to correctly show
UTF-8 encoded text, but these are rather complex and usually require
CID fonts.

If you are sure that you application(s) produce text the character
set of which does fit into ISO8859-1(5), I'd suggest to re-encode the
UTF-8 encoded text to ISO8859-1(5) by e.g. a fairly simple Perl script
using the Encode package.

Helge

-- 
Helge Blischke
Softwareentwicklung

H.Blischke@acm.org
0
h.blischke (329)
1/9/2009 3:57:02 PM
Hi Helge,

thanks for your answer.

Helge Blischke <h.blischke@srz.de> wrote:
> There are some PostScript procedures around to correctly show
> UTF-8 encoded text, but these are rather complex and usually require
> CID fonts.

Would this be difficult? I'm using Ghostscript under Linux to convert
the resulting files to PDF. What would these prodedures be, and how can
I call them? I'll try to find out more.


> If you are sure that you application(s) produce text the character
> set of which does fit into ISO8859-1(5), I'd suggest to re-encode the

Until now I could get along by converting on the fly. But I want a
general solution, as I also need to support Japanese text.

Cheers,
- Alex
-- 
   Software Lab. Alexander Burger
   Bahnhofstr. 24a, D-86462 Langweid
   abu@software-lab.de, www.software-lab.de, +49 8230 5060
0
abu (80)
1/9/2009 5:56:05 PM

Alexander Burger wrote:
> Hi Helge,
> 
> thanks for your answer.
> 
> Helge Blischke <h.blischke@srz.de> wrote:
>> There are some PostScript procedures around to correctly show
>> UTF-8 encoded text, but these are rather complex and usually require
>> CID fonts.
> 
> Would this be difficult? I'm using Ghostscript under Linux to convert
> the resulting files to PDF. What would these prodedures be, and how can
> I call them? I'll try to find out more.
> 
> 
>> If you are sure that you application(s) produce text the character
>> set of which does fit into ISO8859-1(5), I'd suggest to re-encode the
> 
> Until now I could get along by converting on the fly. But I want a
> general solution, as I also need to support Japanese text.
> 
> Cheers,
> - Alex

Alex,

I tried about a year ago to get Japanese text to work with Ghostscript
on Linux but had no luck. If you do find a solution, please post it back
here.

Thanks,
Jeff Coffield
0
jeffrey399 (108)
1/9/2009 6:04:06 PM
On 9 Jan., 19:04, "Jeffrey H. Coffield"
<jeff...@digitalsynergyinc.com> wrote:
>
> I tried about a year ago to get Japanese text to work with Ghostscript
> on Linux but had no luck. If you do find a solution, please post it back
> here.
>

I saw that there has been some talk about improved CJK support for the
8.64 release on the gs-devel mailing list recently (the release is
scheduled for February 1st).  See here: http://ghostscript.com/pipermail/gs-devel/2009-January/.
I know nothing about Japanese text, just thought I should let you
know.

Thomas W.
0
x.zupftom (54)
1/10/2009 10:25:14 AM
Reply:

Similar Artilces:

Dilma Roussef =?UTF-8?B?bsOjbyBhY3I=?= =?UTF-8?B?ZWRpdGE=?= =?UTF-8?B?IGVtIERFVQ==?= =?UTF-8?B?UyAyMDE=?= =?UTF-8?B?Mjc=?=
Se voce acredita em tudo que a candidata fala por ai , veja o video que comprova que ela nao acredita em DEUS, cuidado ao jogar o seu voto no lixo! http://www.youtube.com/watch?v=24fqyh-kvvk Dilma Roussef n�o acredita em DEUS Dilma Roussef n�o acredita em DEUS Dilma Roussef n�o acredita em DEUS Dilma Roussef n�o acredita em DEUS Dilma Roussef n�o acredita em DEUS Dilma Roussef n�o acredita em DEUS http://www.youtube.com/watch?v=24fqyh-kvvk g@hxZIjqAV^Y=ai^VNXu.D!zG ...

Dilma Roussef =?UTF-8?B?bsOjbyBhY3I=?= =?UTF-8?B?ZWRpdGE=?= =?UTF-8?B?IGVtIERFVQ==?= =?UTF-8?B?UyA2Nzc=?= =?UTF-8?B?Njc=?=
Se voce acredita em tudo que a candidata fala por ai , veja o video que comprova que ela nao acredita em DEUS, cuidado ao jogar o seu voto no lixo! http://www.youtube.com/watch?v=24fqyh-kvv Dilma Roussef n�o acredita em DEU Dilma Roussef n�o acredita em DEU Dilma Roussef n�o acredita em DEU Dilma Roussef n�o acredita em DEU Dilma Roussef n�o acredita em DEU Dilma Roussef n�o acredita em DEU http://www.youtube.com/watch?v=24fqyh-kvvk !jQZyeJ(+JqFwvgXvtAk%k=n& ...

pcnetsecurity@gmail.com =?UTF-8?B?QXNzaXN0w6puY2lhIFTDqWM=?= =?UTF-8?B?bmljYSAgbWFudXRlbsOnw6M=?= =?UTF-8?B?byBkZSBjb21wdXRhZG9y?= =?UTF-8?B?ZXMgaW5mb3JtYXRpY2Eg?= =?UTF-8?B?Vml0w7NyaWEtZXMgMTMy
Contato: pcnetsecurity@gmail.com Contato: pcnetsecurity @ gmail.com Planos a partir de R$ 250,00 . Assist�ncia T�cnica Prestamos assist�ncia t�cnica nos computadores de sua empresa ou resid�ncia, e tamb�m possu�mos uma equipe qualificada para fazer a manuten��o no pr�prio local. - Contratos de Suporte e Manuten��o Reduza os custos de sua empresa com solicita��es de visitas t�cnicas para seus computadores, elaboramos um contrato de manuten��o integrado para sua empresa onde disponibilizamos: t�cnicos, equipamentos de suporte e substitui��o, e atendimento no hor�rio comercial ou plant�o sob an�lise. - Redes Corporativas (Projetos e Instala��es de Cabeamento Estruturado ou Wireless e parte L�gica em Geral) Projetamos e instalamos desde uma simples rede ponto a ponto, at� uma rede de dados mais complexa e segura com compartilhamento de arquivos local e/ou remotamente, impressoras e Internet com Servidores 2003 ou 2008 Server. Disponibilizamos: TS (Terminal Server), VPN (Virtual Private Network) e FTP (File Tranfer Protocol), al�m de diversos servi�os afins, como Backups automatizados entre outros. - Consultoria t�cnica em Hardware e Software Prestamos consultoria para melhorar os processos de sua empresa atrav�s da inform�tica, otimizando assim o seu atendimento e o desenvolvimento da empresa. - Seguran�a. Protegemos sua empresa de v�rus e invas�es, o acesso aos dados dos usu�rios � feito de forma seletiva, ou seja, somente aqueles que tiverem permiss�es especiais ter�o...

How to use String.split to split a mixed encoding string(part encoded in gbk, part encoded in utf-8)
[Note: parts of this message were removed to make it a legal post.] Dear Buddies, Yesterday, I sent a mail of let the split ignore the error utf-8 bytes sequences. And I checked the string I wanted to parse in Java and found out that the string is encoded in gbk and part of the string is encoded in utf-8. I am wondering if I could find a way to still split the string by split method, and then I could try to force_encoding part of the string that might encoded in gbk and resolve the problem. I am wondering if there is a way I could do so without the "invalid bytes sequen...

=?UTF-8?B?xqTvuoPguJfWgQ==?=: =?UTF-8?B?IOKModK/4oix4oix?= =?UTF-8?B?IOGPktK/bOKIsQ==?=
Υօu իԲ⩗ҿ ทҿ⩗ҿr Բทຮաҿrҿᖙ աիԲϯ ຮբҿ𐐽ﺃԲl ϯիﺃทց עօu ϯիﺃทk I իԲᖙ ϯօ ᖙօ ϯօ ցҿϯ നע Մຮҿทҿϯ rҿԲᖙҿr ϯօ աօrk աﺃϯի ทօท ᗋៜᑕII 𐐽իԲrԲ𐐽ϯҿrຮ. Iท ∱Բ𐐽ϯ, ∱rօന Բll ԲբբҿԲrԲท𐐽ҿຮ ﺃϯ ຮҿҿനຮ Բຮ ϯիօuցի ❆עօur❆ uຮҿทҿϯ rҿԲᖙҿr ᖙօҿຮ ทօϯ ҿ⩗ҿท Բllօա עօu ϯօ rҿԲᖙ നҿຮຮԲցҿຮ բօຮϯҿᖙ աﺃϯի ຮu𐐽ի uท𐐽օനനօท ﺃϯҿനຮ ∱rօന ϯիҿ Մϯᖴ-৪ lﺃຮϯ օ∱ ຮעനϦօlຮ. ẄիԲϯ ﺃຮ աrօทցᕈ Ẅիע ᖙօท'ϯ עօu ҿ⩗ҿr զuօϯҿ օr rҿຮբօทᖙ ϯօ ຮu𐐽ի നҿຮຮԲցҿຮᕈ ᗋrҿ עօu ∱ﺃทᖙﺃทց ϯիԲϯ עօur ԲϦﺃlﺃϯﺃҿຮ իҿrҿ Բrҿ നօrҿ lﺃനﺃϯҿᖙ ϯիԲท עօu ϯիօuցիϯᕈ Iϯ ຮurҿ ຮҿҿനຮ ϯիԲϯ աԲע! -- "I am skeptical of the claim that voluntarily pedophilia harms children." -- Richard Stallman On 6/3/13 5:49 PM, in article CDD287B9.1BEC6%usenet@gallopinginsanity.com, "Snit" <usenet@gallopinginsanity.com> wrote: > Υօu իԲ⩗ҿ ทҿ⩗ҿr Բทຮաҿrҿᖙ աիԲϯ ຮբҿ𐐽ﺃԲl ϯիﺃทց עօu ϯիﺃทk I իԲᖙ ϯօ ᖙօ ϯօ ցҿϯ > നע Մຮҿทҿϯ rҿԲᖙҿr ϯօ աօrk աﺃϯի ทօท ᗋៜᑕII 𐐽իԲrԲ𐐽ϯҿrຮ. Iท ∱Բ𐐽ϯ, ∱rօന > Բll ԲբբҿԲrԲท𐐽ҿຮ ﺃϯ ຮҿҿനຮ Բຮ ϯիօuցի ❆עօur❆ uຮҿทҿϯ rҿԲᖙҿr ᖙօҿຮ ทօϯ ҿ⩗ҿท > Բllօա עօu ϯօ rҿԲᖙ നҿຮຮԲցҿຮ բօຮϯҿᖙ աﺃϯի ຮu𐐽ի uท𐐽օനനօท ﺃϯҿനຮ ∱rօന ϯիҿ > Մϯᖴ-৪ lﺃຮϯ օ∱ ຮעനϦօlຮ. > > ẄիԲϯ ﺃຮ աrօทցᕈ Ẅիע ᖙօท'ϯ עօu ҿ⩗ҿr զuօϯҿ օr rҿຮբօทᖙ ϯօ ຮu𐐽ի നҿຮຮԲցҿຮᕈ ᗋrҿ > עօu ∱ﺃทᖙﺃทց ϯիԲϯ עօur ԲϦﺃlﺃϯﺃҿຮ իҿrҿ Բrҿ നօrҿ lﺃനﺃϯҿᖙ ϯիԲท עօu ϯիօuցիϯᕈ > > Iϯ ຮurҿ ຮҿҿനຮ ϯիԲϯ աԲע! > ᒪѺᒪ! 𝔗 𝙟∪≷† ç𝙝⋲ç𝓴⋲∂ å∩∂ ⨈𝙝≀⧙⋲ ...

=?utf-8?Q?twapi:=20scan=20for=20ne?==?utf-8?Q?w=20hard?= =?utf-8?Q?ware?=
Hi, we have to remove/add some faulty USB devices by power off/on the 5V from the Win7 box. Most of the time it works well, but sometimes it needs to go to the "Device Manager" and press the "scan for new HW" button to show up the newly powered on device. How can I do that from my tcl script using TWAPI (not only list the current state, but trigger a re-scan) ? Torsten I don't know of any way to do this from twapi, even using WMI. If you are not shipping this to others (because of licensing restrictions wrt distribution), the quickest way is to download devcon.exe (free from Microsoft) to the system(s) of interest and from Tcl do a "exec devcon rescan". Alternatively, if you need it I can add the rescan function to twapi. It so happens I'm getting ready to beta the next release. I'm not sure what you mean by "list state". Do you mean state of each device or state as in current list of known devices? /Ashok Hi Ashok, Thank you for support. devcon is a workaround I had already in mind. To have the rescan functionality in twapi would be even better ;-) With "list the current state" I mean the list of discovered devices before the rescan is triggered. The driver of the faulty USB device creates several com ports, a network interface and a USB composite device. If the USB device does not work anymore we disconnect the 5V USB power and only the USB composite device r...

Find out encoding of a file with php, and convert it to UTF-8 encoding
Hi all, in my script I need to find out the encoding of a file and in case it is not of the kind UTF-8 I need to convert it to that format. Any hints?? Thanks Matthias Langbein wrote: > in my script I need to find out the encoding of a file and in case it is > not of the kind UTF-8 I need to convert it to that format. Something in http://www.php.net/manual/en/ref.iconv.php should be able to help you. HTH, -- Benjamin D. Esham bdesham@gmail.com | AIM: bdesham128 | Jabber: same as e-mail "Come to think of it, there are already a million monkeys on a million typewriters, an...

FA: monitor A1085S, Surfer-package, SuperJAM, =?UTF-8?B?QmFycydu?= =?UTF-8?B?w4RQaXBlcywgbW91c2UsIEJsdVJheSwgQ3lnbnVzRWQsIERlbW9tYWtlciwgT1M=?= =?UTF-8?B?IDMuMCBhbmQgbWFueSghKSBtb3Jl?=
X-No-Archive: Yes Hi! Got some time to sort a few things and put some of them on eBay. All starting from EUR 1,-, shipping is worldwide on all items. original Commodore monitor A1085S original Amiga Technologies Modem with accessoires (Surfer-package) ASUS USB BluRay-burner mouse "The Boing Mouse" SuperJAM sequencer Bars'n'Pipes sequencer Cygnus Ed Professional complete OS 3.0 (manuals with disks) AmiAtlas 2.0 with maps Turbo Print Professional Data Becker Demomaker Data Becker VectorObject Editor Data Becker FontEd MousePad B...

: =?utf-8?Q?Re:=20BASIC=20-=20PRINT=20?==?utf-8?Q?USING?= =?utf-8?Q?=20a=20quad=20value?= #2
Nope ... there are 25 spaces in front of the 0 when displayed on the terminal. ...

UTF-8 encoding
I have problems making UTF-8 characters be printed correctly in a png term. My whole system is configured to process everything in UTF-8. My understanding is that setting "set encoding utf8" in gnuplot should do the trick. Alas, it doesn't. I also tried "set encoding locale" and whatnot, but to no avail. For this too I use a workaround; instruct my editor to create an ISO Latin9 output. And here, once again, I'd of course prefer a correct solution to my hack. What did I miss? (I seem to faintly recall that I didn't have that problem with gnuplot 4....

encoding to and from UTF-8
Hello, I encode a unicode character as utf-8 but how do I convert back to unicode? % set a \u0160 << character is =8A =A6 % set n [encoding convertto utf-8 $a] =C5=A0 % binary scan $n H* hex 1 % puts $hex c5a0 << correct set n [encoding convertto unicode $n] =C5=A0 % binary scan $n H* hex 1 % puts $hex 00c500a0 << Not what I was expecting The other problem is: % set a \u0160 =A6 % binary scan $a H* hex 1 % puts $hex 60 << Not what was expecting 0160 Thanks Michael Chun <chun.tse@gmail.com> writes: >Hello, > >I encode a unicode character as utf-8 but how do I convert back to >unicode? > >% set a \u0160 << character is Š >� >% set n [encoding convertto utf-8 $a] >Š >% binary scan $n H* hex >1 >% puts $hex >c5a0 << correct > >set n [encoding convertto unicode $n] The variable 'n' contains the utf-8 representation of your original input. To convert it back into a tcl-internal representation you should be doing: set n [encoding convertfrom utf-8 $n] Then if you really wanter the unicode encoding of this you can set unicode_n [encoding convertto unicode $n] >Š >% binary scan $n H* hex >1 >% puts $hex >00c500a0 << Not what I was expecting > >The other problem is: > >% set a \u0160 >� >% binary scan $a H* hex >1 >% puts $hex >60 << Not what was expecting 0160 > >Thanks >Michael -- Pat Thoyts ...

UTF-8 encoding
Hi, Im working with xmprpc/client and the server Im working against requires utf8 for my strings. I found this article with google: http://redhanded.hobix.com/inspect/futurismUnicodeInRuby.html Is this for real? Is there no workaround for me to get my data to the server with uft8 encoding? Best, martin balony@gmail.com wrote: > > Im working with xmprpc/client and the server Im working against > requires utf8 for my strings. > > I found this article with google: > http://redhanded.hobix.com/inspect/futurismUnicodeInRuby.html > > Is this for real? Is there no workar...

UTF-8 to PostScript
Hello, I have some files containing some relatively unusual UTF-8 characters. I would like to be able to print these. I have tried a2ps but it does not support UTF-8. And the closest I got was viewing the file with mozilla and printing it. Almost worked, except for it outputed several of the pinyin characters I am trying to print as squares! Basically some of the characters are accented with some special diacritics (such as a diaeresis with an acute on top of it). I don't know of any application which would allow me to print these. Basically I am assuming that once I can see them with gv in postscript it should work. I am running Linux. Any ideas? Thanks, Neil nzanella@cs.mun.ca (Neil Zanella) wrote: > I have some files containing some relatively unusual UTF-8 characters. I would > like to be able to print these. > > Basically some of the characters are accented with some > special diacritics (such as a diaeresis with an acute on top of it). > > I don't know of any application which would allow me to print these. I think it's not a question of application but rather a question of fonts containing these characters. <http://www.google.com/search?q=%22with+diaeresis+and+acute%22> Arial Unicode oder Andal� Mono should do. <http://www.arialunicodems.com/> -- Top-posting. What's the most irritating thing on Usenet? Andreas Prilop <nhtcapri@rrzn-user.uni-hannover.de> wrote in message > I think it's not...

"-encoding identity" vs "-encoding binary" and UTF-8 data
This question comes from the discussion in Tcl Bug #411825: http://sourceforge.net/tracker/?group_id=10894&atid=110894&func=detail&aid=411825 Can anyone explain the behavior I'm seeing, in the comment I added on 2003-08-28 07:58? Why is the behavior different between "-encoding binary" and "-encoding identity"? -- Dossy -- Dossy Shiobara mail: dossy@panoptic.com Panoptic Computer Network web: http://www.panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70) Hi Dossy, Dossy <dossy@panoptic.com> writes: > This question comes from the discussion in Tcl Bug #411825: > > http://sourceforge.net/tracker/?group_id=10894&atid=110894&func=detail&aid=411825 > > Can anyone explain the behavior I'm seeing, in the comment I added > on 2003-08-28 07:58? Why is the behavior different between > "-encoding binary" and "-encoding identity"? You wrote there: > when I set stdout encoding to binary, it should give me the raw > UTF-8 (9 bytes) and not the transcoded ISO-8859-1 representation (8 > bytes), right? No. With encoding binary your strings will all be treated as binary data "without interpretation". The hook here is the expression "binary data", what is that in Tcl? First a definition of normal strings. Normal strings...

What's wrong with "fconfigure stdout -encoding utf-8" on windows in Tcl 8.5.10
With my built 8.5.10 I tried to issue command "fconfigure stdout - encoding utf-8" to tclsh on WinXP, the tcl prompt then was shown as two dots instead of percentage sign, C:\>tclsh85t.exe % fconfigure stdout -encoding utf-8 =E2=80=A5date The current date is: 11/29/2011 Tue Enter the new date: (mm-dd-yy) time The system cannot accept the date entered. Enter the new date: (mm-dd-yy) =E2=80=A5 =E2=80=A5 So wonder what's wrong with fconfigure on stdout? Is that the issue? On Nov 29, 7:46=C2=A0am, "wrena...@gmail.com" <wrena...@gmail.com> wrote: > With my built 8.5.10 I tried to issue command "fconfigure stdout - > encoding utf-8" to tclsh on WinXP, the tcl prompt then was shown as > two dots instead of percentage sign, > > C:\>tclsh85t.exe > % fconfigure stdout -encoding utf-8 > =E2=80=A5date > The current date is: 11/29/2011 Tue > Enter the new date: (mm-dd-yy) time > The system cannot accept the date entered. > Enter the new date: (mm-dd-yy) > =E2=80=A5 > =E2=80=A5 > > So wonder what's wrong with fconfigure on stdout? Is that the issue? Short answer: Yes. Longer answer: The encoding in Windows is not UTF-8 but one of cp.... flavors. Question: what did you expect that to do? Mark On 29/11/2011 06:59, Mark Janssen wrote: > Short answer: Yes. > Longer answer: The encoding in Windows is not UTF-8 but one of cp.... > flavors. Also, the code that writes to the (genuine) ...

UTF-8 encoding problem
Hi All, I am having a GUI which accepts a Unicode string and searches a given set of xml files for that string. Now, i have 2 XML files both of them saved in UTF-8 format, having characters of different language. Although both of them are having UTF-8 as BoM, but only first file is having UTF-8 defined in XML declration at the top of the XML file as well. Now, when i search for some different langauge character in that directory using a third party GUI for desktop search, it shows that the charcter exist in the first file (in which XML declation was also there), but not in t...

=?utf-8?B?T2JhbWEgb24gTlNBOiDigJxBIE5vdGhpbmcgQnVyZ2VyIFNlcnZlZCBIb3Q=?= =?utf-8?B?IEFuZCBXaXRoIEEgU3ltcGF0aGV0aWMgU21pbGXigJ0=?=
The Smiling Black Man strikes again. http://www.washingtonsblog.com/2014/01/obama-speech-nsa-spying-substance.html -- Silver Slimer Buying software ensures its continued existence and improvement Silver Slimer wrote: > The Smiling Black Man strikes again. > > http://www.washingtonsblog.com/2014/01/obama-speech-nsa-spying-substance.html > > Oh quit worrying yourself and looking like a schoolboy. The NSA does not care about you at all. The facts are that evil doers cannot send a lot of electronic signals around the world and keep their existence secret. No matter what the public face may be, spy agencies are going to keep looking. On 2014-01-18, Amicus Curious <AmicusCurious@outlook.com> wrote: > Silver Slimer wrote: >> The Smiling Black Man strikes again. >> >> http://www.washingtonsblog.com/2014/01/obama-speech-nsa-spying-substance.html >> >> > Oh quit worrying yourself and looking like a schoolboy. The NSA does > not care about you at all. The facts are that evil doers cannot send a > lot of electronic signals around the world and keep their existence > secret. No matter what the public face may be, spy agencies are going > to keep looking. The problem isn't so much what they are doing now but what some less scrupulous types would do with the apparatus once it is built. If you think you aren't worth worrying about, there plenty of historical ...

=?utf-8?B?U1BBUksgc3ludGF4IGFuZCDigJx1c2UgdHlwZeKAnSA6IGxhY2sgb2YgZmU=?= =?utf-8?B?YXR1cmUgPw==?=
Hi, I meet a strange behavior with the SPARK syntax checker (via the examine= r). If I have something of the form procedure My_Procedure is Who_Know_What : Who_Know_What_Type; use type My_Type; begin ... bla-bla-bla ... end My_Procedure; it's OK. While if I have something like procedure My_Procedure is use type My_Type; begin ... bla-bla-bla ... end My_Procedure; Then the spark syntax checker complains =E2=80=9CSyntax Error reserved "= IS" cannot = be followed by "USE" here.=E2=80=9D So, if the =E2=80=9Cuse type=E2=80=9D comes after any kind of declaratio= n (type or = entity), that's OK, but if this comes at the first place, or worst, alon= e, = so that it cannot be anywhere than at the first place, then it is reject= ed. Strange. So much strange to me that I wonder if weither or not this is = something which had not been seen as a possible issue. What people here think about it ? Is SPARK missing something or is there a rational ? On 24 May, 19:41, Yannick Duch=EAne (Hibou57) <yannick_duch...@yahoo.fr> wrote: > Hi, > > I meet a strange behavior with the SPARK syntax checker (via the examiner= ). I can't get the behaviour that you are reporting (I'm still on GPL version 8.1.1) - can you post a complete SPARKable example? > If I have something of the form > > =A0 =A0 procedure My_Procedure > =A0 =A0 is > =A0 =A0 =A0 =A0Who_...

UTF-8 encoding problem
Hi All, I am having a GUI which accepts a Unicode string and searches a given set of xml files for that string. Now, i have 2 XML files both of them saved in UTF-8 format, having characters of different language. Although both of them are having UTF-8 as BoM, but only first file is having UTF-8 defined in XML declration at the top of the XML file as well. Now, when i search for some different langauge character in that directory using a third party GUI for desktop search, it shows that the charcter exist in the first file (in which XML declation was also there), but not in the second file ...

utf-8 encoding issue
The line below looks up the name "�ttinger" (with the German umlaut) of an author using the mysql console: mysql> select author from records where author like '%&#xd6;ttinger%'; This successfully finds all entries in the records database where "�ttinger" is the author or the co-author. In a web form, the user enters "�ttinger" and wants to search with this search string. My idea is now to convert the search string (which also could be e.g. some cyrillic text) into unicode and then to utf-8: unicode(search_string).encode('utf-8') ...

UTF-8 encoding problem
Hi All, I am having a GUI which accepts a Unicode string and searches a given set of xml files for that string. Now, i have 2 XML files both of them saved in UTF-8 format, having characters of different language. Although both of them are having UTF-8 as BoM, but only first file is having UTF-8 defined in XML declration at the top of the XML file as well. Now, when i search for some different langauge character in that directory using a third party GUI for desktop search, it shows that the charcter exist in the first file (in which XML declation was also there), but not in the second file (having only BoM) Initilally i thought that the problem is mainly because of UTF-8 being supporting both MultiBye and Unicode, but could not find much on it, because both of them had the same contents when opened in Binary mode (Except for XML Declaration in 1 of them) Please help. Regards, Shreshth In article <1161175877.526011.314970@b28g2000cwb.googlegroups.com>, <shreshth.luthra@gmail.com> wrote: >Although both of them are having UTF-8 as BoM, but only first file is >having UTF-8 defined in XML declration at the top of the XML file as >well. Even without an xml declaration or BOM, the default encoding for XML is UTF-8. Are you really opening files, or are the documents coming from a web server that might be incorrectly serving them as, say, Latin-1? -- Richard ...

Are =?UTF-8?B?4oCdZXh0ZW5kZWQgY2hhcmFjdGVyc+KAnSBzYWZlIGluIGlkZW4=?= =?UTF-8?B?dGlmaWVycz8=?=
The syntax of ECMAScript has allowed “extended characters” in identifiers since 3rd edition (1999). This means, among other things, allowing any Unicode letters, like Greek, Arabic, and Cyrillic letters as well as e.g. Chinese ideographs. As far as I can see, this has been supported in web browsers for a long time (e.g., ever since IE 5.5). So is it really safe to use them, writing, say var π = Math.PI; var ผลบวก = 0; function Götterdämmerung() or are there some pitfalls? Various coding conventions as well as practical editing issues (you can’t be sure of always being able to edit your code on a Unicode-enabled editor) aside, is there still some real technical reason to stick to the A–Z, a–z, 0–9, ”$”, ”_" repertoire? -- Yucca, http://www.cs.tut.fi/~jkorpela/ Jukka K. Korpela wrote: > The syntax of ECMAScript has allowed “extended characters” in identifiers since 3rd edition (1999). This means, among other things, allowing any Unicode letters, like Greek, Arabic, and Cyrillic letters as well as e.g. Chinese ideographs. As far as I can see, this has been supported in web browsers for a long time (e.g., ever since IE 5.5). > > So is it really safe to use them, writing, say > > var π = Math.PI; > var ผลบวก = 0; > function Götterdämmerung() > > or are there some pitfalls? Various coding conventions as well as practical editing issues (you can’t be sure of always being able to edit your code on a Unicode-enabled edi...

LilyPond =?UTF-8?B?Mi4xMOKAlDEwIHllYXJzIGFubml2ZXJzYXJ5IHJlbGVhcw==?= =?UTF-8?B?ZQ==?=
Utrecht the Netherlands—November, 2006. The initial inspiration for LilyPond came ten years ago when two musician friends grew disappointed with the bland and boring look of computer formatted scores. Every musician prefers to read beautiful music, so couldn't we programmers solve that printing problem? LilyPond just does that: it prints music in the best traditions of classical engraving with minimum fuss. Don't waste time on tuning spacing, moving around symbols, or shaping slurs. Impress friends and colleagues with sharp sheet music! Check out LilyPond at http://lilypond.org NEW STUFF * Creating music with good page turning points is easier than ever. The new page breaking algorithm will tune both horizontal and vertical spacing. Hence, page turns will only fall at rests or places that you mark explicitly. * Flat music export format. LilyPond uses an elegant input format, that uses identifiers, arbitrary nested structures and inline Scheme expressions. While the format is easy to write and read for humans, it is less so for programs. With this release, Erik Sandberg has contributed internal rewrites that make it possible to output a much simpler intermediate format. In the long term, this will enable other programs to read LilyPond music. * Many small features and formatting improvements. This includes support for falls and doits, dashed barlines, al niente hairpins, right hand fingerings ...

Web resources about - UTF-8 Encoding - comp.lang.postscript

Encoding (memory) - Wikipedia, the free encyclopedia
Visual, acoustic, and semantic encodings are the most intensively used. Other encodings are also used. Acoustic encoding is the encoding of auditory ...

Twitter image encoding challenge
If a picture's worth 1000 words, how much of a picture can you fit in 140 characters? Note : That's it folks! Bounty deadline is here, and after ...

【medical-news】Genetic Variation in NR1H4 Encoding the Bile Acid Receptor FXR - 医药生命科学动态跟踪 -丁香园论坛
Context: Bile acid signaling via farnesoid X receptor (FXR) regulates glucose and lipid levels, fat mass, and hepatic steatosis in animal models.Objective: ...

HandBrake Open Source video transcoder v0.10 released with hundreds of new features including H.265 and ...
... can be used for transcribing many different types of files/codecs to almost any other. Today’s headliner updates include H.265 and VP8 encoding. ...

CJK Type - CJK Fonts, Character Sets & Encodings. All CJK. All of the time.
As I wrote nearly a year ago , the Adobe-Identity-0 ROS is useful for building special-purpose fonts, especially CJK ones whose glyph coverage ...

Link Encoding Goes Mobile With Deep Links From Bitly
... Facebook and Google have been competing to bring the best solution for tracking deeplinks . This week, Bitly announced its own linking encoding ...

Encoding Articles - AppAdvice iPhone/iPad News
Latest Encoding Articles - AppAdvice iPhone/iPad News

AirMovie - Enjoy the videos in your PC anytime, anywhere with NO ENCODING!!
Holen Sie sich „AirMovie - Enjoy the videos in your PC anytime, anywhere with NO ENCODING!!“ im App Store. Sehen Sie sich Screenshots, Bewertungen ...

More tips on encoding video for Apple TV and iPod, from us to you
Apple tells video podcasters how to encode their content, which is also useful …

Handbrake 0.9.6 gives some, takes some encoding features
The Handbrake Project has announced an update to its open-source, cross-platform video transcoding utility. Handbrake 0.9.6 includes new and ...

Resources last updated: 3/14/2016 3:46:14 AM